keytone Posted January 3, 2015 Share Posted January 3, 2015 Hi, me again with another goofy question. I'm using the image as a link, and I want a certain color border around the picture. Am I way off in left field again?? <style> p a:link { color: #ccc99oo; } </style> and in the body.... <p> <a href="/wisdom/wisdom.html"><img src="/wisdom/a5.jpg" border="8"></a> </p> Thanks for advice, keytone ( can you tell I'm a little lost ) Link to comment Share on other sites More sharing options...
davej Posted January 3, 2015 Share Posted January 3, 2015 You are assigning an invalid foreground color -- not a border. http://www.w3schools.com/css/css_border.asp p a img { border:8px solid #cc9900; /* img inside link inside paragraph */} Link to comment Share on other sites More sharing options...
keytone Posted January 3, 2015 Author Share Posted January 3, 2015 Thanks very much !! I bet you gurus get a kick out of my questions sometimes, but you have all been very helpful every time and I appreciate it very much! Thanks again, keytone (John) 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