Jump to content

IE and img in links **RESOLVED**


Recommended Posts

Hello,To make some links look more fancy, I am adding an image in front of them with this kind of definition in my CSS:.mylink { background: url(mytinyimage.png) left center no-repeat; padding-left: 13px;}Everything works fine: XHTML 1.0 strict and CSS validated, rendering fine in Firefox.Unfortunately, some of my friends are using IE6 and, with it, a 1px blue border appears around the image. This is pretty ugly as mytinyimage.png has a rounded shape...Is there a way to force-remove this border?

Edited by Skemcin
Link to post
Share on other sites

It would help if you posted all of your HTML here from that page, so people can help you more effectively. or a link is fine.

Link to post
Share on other sites

It's still a link, right? The image is a background, not part of the link itself?Trytext-decoration: none;orborder-style: none;

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...