Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 11:46 PM
Bert
Guest
 
Posts: n/a
Default [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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles