467,874 Members | 1,792 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,874 developers. It's quick & easy.

[HELP] IE5 not showing positioned background image

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
  • viewed: 1474
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jane Withnolastname | last post: by
2 posts views Thread by \ | last post: by
33 posts views Thread by Joe | last post: by
2 posts views Thread by MM | last post: by
4 posts views Thread by jereme.goblue | last post: by
8 posts views Thread by Gabriella | last post: by
6 posts views Thread by mistral | last post: by
3 posts views Thread by Justin England | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.