PDA

View Full Version : Styling alt text


francis
6th Oct 2005, 12:18 am
Ooooooh, ooh, ooh, ooh. Remember the Bentley site? Remember how I styled the alt text on the logo so if the image wasn't there the alt text would still look big like a logo? Well, over a year later, CSS god Dan Cederholm has just published an article on the same thing (http://www.simplebits.com/notebook/2005/10/05/bplogos.html) which people are commenting on. I used the CSS attribute selector to achieve the same effect:

#masthead #text[alt]{
color:#fc0;
font-size:2.5em;
font-weight:bold;
}

Remember?! (http://www.websitearchitecture.net/forum/index.php?showtopic=156&hl=alt+text) I'm just *so advanced* ;)

David
6th Oct 2005, 08:56 am
Well now you have a blog of your own you can let the rest of the world in on your little gems. Who knows, hisbrother may become a coding Mecca - or possibly just a bingo hall. :lol: