November 11, 201016 yr Hi guys The links on my site have a border as you'll see in the code below, however I dont want the linked images to adopt this style. How do I stop the linked images from adopting the border? Thanks in advance a { color:#000; text-decoration:none; padding-bottom:2px; border-bottom:1px dashed #000; } a:hover { border-bottom:1px solid #ec008b; } a img { border: none; }
November 11, 201016 yr Stefan, What do you mean, also have you also got a link to your website? Cheers
November 11, 201016 yr try CSS: img { border: 0; } Here, the image is puttin the border width in pixels, to 0 Happy days, Ash
November 11, 201016 yr Well just change the border value it will work fine. If you have to define more things just introduce new attributes.
Create an account or sign in to comment