ngreenwood6 Posted September 5, 2008 Share Posted September 5, 2008 I use this code: <a href="page.html">Click Here</a> The problem is that it is underlining everything and I do not want it underlined anyone know how to fix this? Link to comment https://forums.phpfreaks.com/topic/122912-links/ Share on other sites More sharing options...
DarkWater Posted September 5, 2008 Share Posted September 5, 2008 <style type="text/css"> a { text-decoration: underline; color: black; } </style> Link to comment https://forums.phpfreaks.com/topic/122912-links/#findComment-634831 Share on other sites More sharing options...
ngreenwood6 Posted September 5, 2008 Author Share Posted September 5, 2008 Im not too good with css but I have a css file that I use for some basic stuff. now if I just add this: a { text-decoration: underline; color: black; } to my file will I have to do anything else or will that work for every link. Link to comment https://forums.phpfreaks.com/topic/122912-links/#findComment-634861 Share on other sites More sharing options...
DarkWater Posted September 5, 2008 Share Posted September 5, 2008 It'll automatically default every link back to standard, plain ol' text. You can change other links that you want to look "special" with classes. Link to comment https://forums.phpfreaks.com/topic/122912-links/#findComment-634870 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.