View Full Version : Navigation buttons on background image - IE problem

03-05-2010, 12:13 AM
I want to be able to put my navigation buttons (these are images) on top of an image background. It works well on firefox, but not on internet explorer. On IE, the back ground image does not appear on the site

Could someone please tell me what I'm doing wrong. here are my codes





list-style: none; /*removes the underline below the link*/
padding:0; /*removes the padding*/

#navbar li

float: left; /*this makes the element displays in a horizontal line*/
margin: 0px 0px 0px 5px;
padding: 0px 0px 0px 0px;
cursor: pointer;


<div id="container">
<ul id="navbar">
<li> <a href="#"><img src="images/home.png" alt="Home"/></a></li>
<li> <a href="#"><img src="images/about.png" alt="about"/></a></li>
<li> <a href="#"><img src="images/resource.png" alt="Resources"/></a></li>
<li> <a href="#"><img src="imagescontactus.png" alt="Contact us"/></a></li>

03-05-2010, 12:35 AM

is either a typo or error? The } would cut of the rest of the function making it invalid.

You should have it like:
background: #000 url('images/bgbanner.png');

You have 'position:relative;' but don't seem to be using it at all?

'</div' at the end of the html is cut too, maybe just another typo.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum