Guest jeadss Posted September 30, 2005 Share Posted September 30, 2005 How to define the colors of the links ? For instance:<td style="font-weight: bold; font-family: verdana,arial,helvetica,sans-serif; text-align: center; background-color: rgb(211, 233, 255); color: rgb(51, 51, 153);"><font><font size="1"><a href="http://mysite.com/skincare.html" style="text-decoration: none;"><font size="1">Skin Care</font></a>should give a text link in dark blue (rgb(51,51,153) ,but instead it shows the standard blue rgb(0,0,255) ..! Link to comment Share on other sites More sharing options...
F-Man Posted October 1, 2005 Share Posted October 1, 2005 You're telling normal text inside the cell to be dark blue, while links will just keep their default color Give a color to the link itself instead.Like this: <td style="font: bold 11px verdana, arial, helvetica, sans-serif; text-align: center; background-color: rgb(211, 233, 255);"> <a href="http://mysite.com/skincare.html" style="color: rgb(51, 51, 153); text-decoration: none;">Skin Care</a></td> Also, the font element is deprecated and useless when using CSS. Using the example I just typed above should be fine. You should also save a lot of time by using non in-line CSS (inside <style /> or in an external style sheet). Link to comment Share on other sites More sharing options...
Jack McKalling Posted October 2, 2005 Share Posted October 2, 2005 I aggree Stylesheets are wonderful. But lets not care about that here.Also, there is one font-element in your code, Jeadss, that has no attributes, so it is useless. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now