Hoping someone can help with what I'm assuming is a simple fix (not other website seems to have this problem so clearly millions have figured it out before...)
Below is how my css appears in IE only - works fine in every other browser.
http://alternet.com.au/ie_problem.png
Here is the html:
<div id=\"container_bg\"> <div id=\"main_bg_top\"></div> <div id=\"main_bg_body\"> <div id=\"header\"> <div id=\"header_top\"></div> <div id=\"header_body\">Content for id \"header_body\" Goes Here</div> <!-- END header_body --> <div id=\"header_bottom\"></div> </div> <!-- END header -->
</div> <!-- END main_bg_body --> <div id=\"main_bg_bottom\"></div>
You need edit top background: background: url(link) no-repeat bottom; :D
Thanks darkkiller, that works which I had toyed with however, can anyone explain why IE does this? I have given that div a specific height of 7px yet clearly IE has rendered the div to be much higher than that.
Try removing the padding from #main_bg_body and #header_body and applying it to the content of those divs instead.
Thanks apostrophe, that did not work however I have found the fix... I need to set the font-size to 0 as IE auto-sizes teh div based on the font-size...
Below is how my css appears in IE only - works fine in every other browser.
http://alternet.com.au/ie_problem.png
Here is the html:
Here is the css:
Thanks
background: url(link) no-repeat bottom;
:D
Thanks darkkiller, that works which I had toyed with however, can anyone explain why IE does this? I have given that div a specific height of 7px yet clearly IE has rendered the div to be much higher than that.
Do divs in IE have to be a minimum height?
Thanks
Thanks apostrophe, that did not work however I have found the fix... I need to set the font-size to 0 as IE auto-sizes teh div based on the font-size...