[HELP] IE5 not showing positioned background image

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bert

    [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="somethin g">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

Working...