bobo
bobo

Reputation: 8727

Extra white borders on CSS image background in IE6

When this page is viewed in IE6, you will see extra left and right white borders on the button:

http://pastehtml.com/view/1aycieg.html

They don't appear in other browsers (e.g. IE7, IE8, Chrome, Firefox).

I have been trying hard to fix it by changing the margin and padding values of the <li> and <a> tags but still no success.

I would like to avoid changing the HTML markups if possible.

Anyone got some ideas on this?

Many thanks to you all.

Upvotes: 2

Views: 199

Answers (1)

Iznogood
Iznogood

Reputation: 12843

Ie6 does not support png transparency. What should be transparent is white and you are seeing that. You could try pngfix

Upvotes: 2

Related Questions