I have a page where I have a banner div where I have inserted a banner image and then I used a sliver to fill up the extra space.
In Mozilla it lines up fine but in IE it looks a pixel out. (see jpg attachment)
Also See http://www.nitramedia.com.au
I've tried a few things but can't seem to discover what IE wants.
Here's the css code I used for the Divs:
and here's the HTMLCode:#container { width: 760px; \width: 780px; w\idth: 760px; border: 1px solid gray; margin: 10px; margin-left: auto; margin-right: auto; padding: 10px; } #banner { padding: 0; margin-bottom: 0px; background-color: #CCC; border: 1px solid #999999; background-image:url(../images/sliver.jpg); }
Code:<div id="banner"><img src="images/header.jpg" alt="DDT" width="700" height="210"/></div>
Appreciate any help.
Thks
Martin
Albury, Australia




Bookmarks