OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Having issues with my .CSS for links
This page's ID:
24040
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
To answer your question about the hover colour not showing, you need to define the hover class [b]after[/b] you've defined the visited class, this is a quirk that most browsers fall foul of. Also to make easier reading you may want to write your CSS like this...[code]a:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #FFFFFF; text-decoration: none; } a:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #FFFFFF; text-decoration: none; } a:active { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #FFFFFF; text-decoration: none; } a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #6798B8; text-decoration: none; }[/code]Finally, I find that when I declare styles for rollovers, it's best only to add in the attributes that change, instead of re-writing the whole class out again. Hope this helps! Cheers, [img]http://a_bienz.fastmail.co.uk/BlaiseSig.gif[/img] [small](Edited by [internallink=3624]Blaise[/internallink] on 11-15-2004 10:47)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »