tbare Posted January 2, 2008 Share Posted January 2, 2008 ok.. here's the deal: i've got a div "footer" containing: #footer { padding-top: 20px; text-align: center; clear: both; width: 560px; margin-left: 163px; cursor: default; } #footer a{ color: #808080; text-decoration: underline; } #footer a:hover{ color: #808080; text-decoration: underline overline; } #footer a:visited{ color: #808080; text-decoration: underline; } works fine, except there's one URL in that div that i want to have different properties: #footer.linkage a{ color: #000; text-decoration: none; cursor: default; } #footer.linkage a:hover{ color: #000; text-decoration: none; cursor: default; } #footer.linkage a:visited{ color: #000; text-decoration: none; cursor: default; } above code included and used here: <div id="footer"><span class="linkage"><a href="http://www.wannafork.com/files/goods/" target=_blank>©</a></span>2007 wannafork?com | design by <a href='http://www.tbare.com' target=_blank>TBare</a></div> i've tried everything i can think of (above was the last try...) if i make 'linkage' it's own div (#linkage), it puts a line break on the page, which i don't want.. (i want it all in one line...) any ideas would be much appreciated... thanks! Link to comment https://forums.phpfreaks.com/topic/84124-solved-divs-and-spans/ Share on other sites More sharing options...
tbare Posted January 2, 2008 Author Share Posted January 2, 2008 solved it by doing it manually: <div id="footer"><a style="text-decoration: none; color: #000; cursor: default;" href="http://www.wannafork.com/files/goods/" target=_blank>©</a>2008 wannafork?com | design by <a href='http://www.tbare.com' target=_blank>TBare</a></div> Link to comment https://forums.phpfreaks.com/topic/84124-solved-divs-and-spans/#findComment-428273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.