I really was surprised to realise, just now, that I don't get a summer vacation. This, I feel, is entirely unfair, particularly as so much of my social circle does. But, you know, my job doesn't feel like work, exactly, so maybe that's why I feel that way. Also, it's spring, and in spring I do Strange Things.

Like bud.

I have completely fallen apart at doing anything in the interest of coding. No progress on book, no progress on corset, no progress on reading list, no progress on, um, anything. But I made a character sheet today! It's all...filled in and shit! I'm awesome!

Oh HTML. I'd snuggle you at night. In light of the fact I can't do that, I'd settle for snuggling a programmer. Or, you know, what happened last night, when I fell asleep on the HTML book I bought in the interest of actually, like, figuring out what the fuck I'm doing without having to change the font colour of every single link tab in a 40-cell, 40-link table.

Oh web design. Why didn't I take the job doing coding? Why? I love it so!

No, really. I really do love it, and I just never do it because it's like "Well, I have LJ, so why would I bother?" But I love it, and the site I'm coding now is AWESOME, and it will ROCK, and it's NOT IN RED AND BLACK.

I am made of win today.

But ebay is not! Ebay, you whore! Ebay, you trashy slut! Ebay, you...I'll stop now.

Why do I have so many of my lovely, lovely auctions that are ending during the funeral? MY main question was whether my parents would have their laptop with them so I could put in last-minute bids on auctions ending on Thursday night!

Someday I'll be in therapy over the fact that sometimes I have this pang that I'm totally not bothered by the fact that my grandmother is dead. Or else I'll be ruling the world and crushing all under my steel and velvet bootheel.

You know. One or the other.

From: [identity profile] napalmmk9.livejournal.com


figuring out what the fuck I'm doing without having to change the font colour of every single link tab in a 40-cell, 40-link table. Why not use Cascading Style Sheets?

From: [identity profile] channonyarrow.livejournal.com


I didn't want to, and then I figured out that would be the only way to go about it, but I still can't get it to work. A lot of this, of course, is based on the fact that I have no net access at home so when the book in question doesn't actually TELL me how to do something I'm reduced to ripping apart my old blogger template (which used a LOT of CSS) but that doesn't specifically answer the question either.

In other words: yes, that's the solution, or else to go in and put font color tags in front of the six links that need to be a different color and reset the head link colour, but I'm still not sure how to get to it because I've never been terribly good at creating CSS. I can steal it like a motherfucker and make it work better (the amusing story of the Fifteen Tables That Did Nothing And Became Three That Did The Same Job is a case in point, though with HTML rather than CSS - and I totally stole it from a professional site, too) but if I don't have it available to, um, see how it works, yeah, that's it, I can't just create that the way I can HTML. Part of why I bought the book, actually, and I think I'll return it for one that covers both CSS and HTML.

From: [identity profile] napalmmk9.livejournal.com


To deal with links it's really simple. Try this, in the <head> section.

<style type="text/css">
a:link {color: #FF0000}
a:visited {color: #00FF00}
a:hover {color: #FF00FF}
a:active {color: #0000FF}
</style>

Wherein "color" is the RGB values of the color you want (FF0000= bright red, 00FF00=bright green, 0000FF=bright blue.)


A really good example of all of this, and the different options you have for hyperlinks and style sheets in general can be found here.

From: [identity profile] napalmmk9.livejournal.com


Right, sorry, my dumb -- you only need some links to be a different color. I see now.

In which case make those links have a class= attribute.

So it's <a class="funky" href="whatever/whatever.html"> for the link, and

<style type="text/css">
a.funky:link {color: #FF0000}
a.funky:visited {color: #00FF00}
a.funky:hover {color: #FF00FF}
a.funky:active {color: #0000FF}
</style>

In the header.

Good luck!

From: [identity profile] channonyarrow.livejournal.com


AHAH. That's where the problem was - I created a class called (currently) .navbar, that does everything I want EXCEPT change the link colour, but couldn't figure out how to change the link colour in it because THAT IS WHERE THE DAMN BOOK FALLS OVER AND DIES.

Also on any mention of the phrase "div".

Thank you!

From: [identity profile] apiphile.livejournal.com


like, figuring out what the fuck I'm doing without having to change the font colour of every single link tab in a 40-cell, 40-link table.

If you ever find that out will you let me know? This shit has been bothering me for years. Bloody HTML.

From: [identity profile] channonyarrow.livejournal.com


I finally narrowed it down to using CSS, but I couldn't get it to work - but [livejournal.com profile] napalmmk9 has usefully pointed it out in this entry - I had the "link" attribute set wrong in my class.

Barring that, I was going to set "font color" tags on the six links that needed to be white on black so that I could set the head link to black links on a grey background. But CSS seems to be the way to go. NOW THAT I HAVE A CHANCE OF MAKING IT WORK.

From: [identity profile] apiphile.livejournal.com


I've kind of moved on to setting EVERY IMAGINABLE STRUCTURAL AND STYLE ATTRIBUTE in a separate css file now and relative linking to it from individual pages, which has two effects: 1. I don't need to C&P so much crap and 2. the actual html files are smaller and less cluttered. I swear, when I discovered I could use div class to set an absolute position in a separate file I NEARLY FUCKING CREAMED MYSELF.

From: [identity profile] tararaven.livejournal.com


*sniggers* when they send you to a mental institution make sure it's a British one - you'll meet b/f, who's also in the Ebay ward (for bidding on/buying/losing/crying over.... nothing more special than *Lego*).


Mhhhhhhhhhhhhhhhhhh - I do enjoy building cars, though, too.

Oh, and PS, can I have my own Island, too?
.

Profile

channonyarrow: (Default)
channonyarrow

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags