MyBB Community Forums

Full Version: problem with DIV background in IE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
SCREENSHOT
In firefox everything looks fine (bottom part of the image)
But Internet Explorer doesn't show the background image (first part of the image).

This is the CSS I use:
.top-header {
height: 145px;
background-image: url(images/top_bg.gif);
}

And this is the code I use in the Header template:
<div id="top-header" "class="top-header">

<div class="quicksearch">
...quick search code...
</div>

<div id="header">
...logo code...
</div>

</div>
I'm not sure, but try:
width: 100% and repeat-x
in top-header class
you must define style attributes for class "logo".
I have made this on my local host, and now everything working.
And last time Wink
I find it: Give #top-header, not .top-header. you have the same className and id

Take care
thanks a lot Smile
I named it #top-header and ow everything seems to be working Smile

Edit: gave you credit: http://www.mybbfans.com/community/thread...odigy.html
Quote: gave you credit
.. it's a nice Shy thanks