[thelist] inline css

Casey Crookston caseyc at IntelliSoftmn.com
Thu Mar 15 16:52:57 CDT 2007

Yes, I know.  Inline css is a bad idea.   I understand.  But in this
case, it cant be avoided.... I'll spare you the details.  According to
W3.org, this should work:


<a href="page.html" style="{font-size: 12px; text-decoration:none;
color: #006633;} :hover {color: black;}">link</a>


The first part works: {font-size: 12px; text-decoration:none; color:
#006633} but the hover doesn't.  Not sure why.  Again, I don't like
doing this inline either, but it has to be this way this time.


Any ideas? Thanks,



More information about the thelist mailing list