OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Rollover problems in IE and centering problems Mozilla
This page's ID:
27853
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
Do you mean the section "our services link" where firefox doesn't change the link color on hover, but IE does? I'm able to set the background color, and hover color by appending your stylesheet with:[code].inlinelink { color:#ffffff; background-color:#cc0000; } .inlinelink:hover { color:#0000ff; background-color:#ff0000; }[/code]I'm not really sure how the pseudo-element :link takes precedent over setting 'a' without a pseudo element. I modified the above style to include :link and now it looks like it's working:[code].inlinelink:link, .inlinelink { color:#ffffff; background-color:#cccc00; text-decoration:none; } .inlinelink:hover { color:#0000ff; background-color:#ff0000; }[/code] To make your code simpler, instead of setting every 'a' element class to "inlinelink", just set the parent's div(or whatever element) class or id, and uses a selector to affect the links[code]#content a, #content a:visited { color: rgb(0,0,128); text-decoration:none; } #content a:hover { color: rgb(0,0,255); text-decoration:underline; }[/code]Here's a few links that might interest you: check out listamatic and selectorial http://css.maxdesign.com.au/index.htm Some of your style is trying to use properties that don't exist: http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.iconiansolutions.com%2Fcss%2Fstyle.css css2 reference: http://www.w3.org/TR/CSS21/ [small](Edited by [url=http://www.ozoneasylum.com/user/6181]chex[/url] on 04-30-2006 02:10)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »