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? Quote 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> Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/122912-links/#findComment-634870 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.