xfezz Posted November 1, 2006 Share Posted November 1, 2006 I set my link properties as follows in my style sheet:[code]a:link,a:active,a:visited { color: #000; text-decoration: none;}a:hover { color: #444242;}[/code]changes my links globally through out the site. And thats what I want. But now I have this set of links that I want to have the underline text-decoration. Originally I had the top div just as a div style tag, but couldnt figure out the popper syntax to edit within the div style tag. I tried <div style = "a:link text-decoration:underline;"> but it didnt work correctly. So I just set it in its div id tag. heres my html[code]<div id ="chk_links"> <div style = "margin:2px 0px 2px;"> Select: <a href="javascript: void(0)" onclick="return checkall()">All</a> <a href="javascript: void(0)" onclick="return uncheckall()">None</a> <a href="javascript: void(0)" onclick="return invert()">Invert</a> </div></div>[/code]heres the css[code]#chk_links a:link { text-decoration: underline;}[/code]works fine in firefox but in IE the underline doesnt show up? any suggestions? Link to comment Share on other sites More sharing options...
ToonMariner Posted November 1, 2006 Share Posted November 1, 2006 Works fine for me...Make sure you declare#chk_links a:link { text-decoration: underline;}after the other a declarations - also clear your cache (just in case) Link to comment Share on other sites More sharing options...
xfezz Posted November 1, 2006 Author Share Posted November 1, 2006 [quote author=ToonMariner link=topic=113419.msg461071#msg461071 date=1162387521]Works fine for me...Make sure you declare#chk_links a:link { text-decoration: underline;}after the other a declarations - also clear your cache (just in case)[/quote]yep I ended up having to clear my cache. works fine. Link to comment Share on other sites More sharing options...
Recommended Posts