By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,624 Members | 2,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,624 IT Pros & Developers. It's quick & easy.

[HELP] IE5 not showing positioned background image

P: n/a
Hello,

Could someone please tell me what's wrong with the following code, or
what's wrong with IE5 ;-)
IE5 PC doesn't show the image.

CSS:

ul#nav {margin: 0;padding:0; display:block;}
ul#nav li {margin: 0;padding: 0;height: 24px;width: 155px;list-style:
none;}
ul#nav li a {height: 24px;display: block;text-indent:-9999px;}
#bla a.something {background: transparent url(/images/i/n/bla.gif) 0
-25px no-repeat;}

HTML:

<ul id="nav">
<li id="bla"><a href="/bla/" class="something">Blabla</a></li>
</ul>

But it works when no positioning is applied to the background:

#bla a.something {background: transparent url(/images/i/n/bla.gif)
no-repeat top right;}

Example on http://socket-error.com/navprobs/5.html
Thank you,
Bert

Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.