kwilliams Posted March 19, 2008 Share Posted March 19, 2008 My site's links have the text-decoration property set to "underline". In Firefox, the linked images are showing an underline, but in IE and other browsers, that underline doesn't show up.I've seen some other articles and posts (like http://archivist.incutio.com/viewlist/css-discuss/56774), and the only solution I've found that works is "display:block;". I cannot use that property in my site, as it moves the images from where they are supposed to be. Does anyone know of another way to make this work?P.S. This is what I currently have my "img" CSS property set to:img { border:none; text-decoration:none; line-height:0;} Link to comment Share on other sites More sharing options...
jlhaslip Posted March 19, 2008 Share Posted March 19, 2008 a img { text-decoration: none; } Link to comment Share on other sites More sharing options...
kwilliams Posted March 19, 2008 Author Share Posted March 19, 2008 a img { text-decoration: none; }I had already tried that too, but unfortunately it didn't work. Any other suggestions? Link to comment Share on other sites More sharing options...
jlhaslip Posted March 19, 2008 Share Posted March 19, 2008 can you post a link to your page on the internet, please, so we can see the html and the css. Link to comment Share on other sites More sharing options...
Ingolme Posted March 20, 2008 Share Posted March 20, 2008 Maybe this will work:img { text-decoration: none !important; }It's possible that the CSS property just doesn't have enough priority. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.