«« In Rotation Five Worlds »»
blog header image
supastylin'

Found some client-side style switching code. IE is a bit wonky with it though. Maybe I'll file a bug. :|

Posted at November 09, 2002 at 09:12 PM EST
Last updated November 09, 2002 at 09:12 PM EST
Comments

Very nice...I just might have to "shamelessly" borrow them from you too! :-) Btw, I was looking at your black CSS file, and then your blue CSS...and I saw some typos!!! Some of them are missing the first letter!! Check the files!
Geez, lotsa bugs here! ;-) Or am I just imagining things!!

e.g.

a
{
olor: #CC3333;
color: #339933;
ext-decoration: none;
}

a.calendar
{
text-decoration: none;
}

a.calendar:hover
{
text-decoration: underline;
}

p
{
argin-top: 0px;
argin-bottom: 6px;
}

» Posted by: roy at November 10, 2002 12:04 AM

haha ... what is that junk? :)

Tell you what, I do that on purpose. Browsers ignore CSS attributes that they don't recognize. So you take the first letter off and whammo!, disabled. While I'm playing with style sheets, this makes things easy. Apparently, there's a comment sequence like // in CSS, but I don't remember it. Maybe it actually is //.

» Posted by: ryan at November 10, 2002 03:49 AM
Google
 
Search scope: Web ryanlowe.ca