View Full Version : CSS - No Underline - Browser Compatibility
12-17-2005, 12:50 AM
I am using Dreamweaver, external stylesheet.... I am using no underline for the links. In Internet Explorer, it seems to work fine. In Netscape and Firefox, some of the links are underlined and some aren't. There is no consistency. How can I solve that problem?
12-17-2005, 06:51 AM
Netscape and Firefox render code exactly as it is written, whereas IE will try to guess if something is incorrect, hence the difference. Check your code for errors 1st of all, Dreamweaver is notorious for writing bad code.
All links should have have the property text-decoration: none; assigned to them.
I prefer the W3C validators.
12-17-2005, 09:35 PM
Thank you for your help. The problem is solved. It came up as valid code in the code validators. The problem was the way Dreamweaver was putting in the code. Sometime it put class=noUnderline right in the link tag, and sometimes it put it within the span tag. Where the code was in the span tag was where it wasn't working in Netscape and Foxfire. I took out the span tag and added the class=noUnderline within the link tag. It works great now.
Powered by vBulletin® Version 4.2.1 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.