Hello,
i have a page where i have a white box centered on the screen. Now in IE
everything shows fine, but in FireFox and Netscape the background of the box
isn't white. But all the positioning is more or less OK.
This is the code of my page:
<div class="centraal">
<div class="whitebox">
<img src="images/top_bar.jpg">
<div class="menucontainer">
<div class="menukolom" id="menu">
<!-- in here is a <ul> with my menu, nothing special -->
</div>
<div class="menubottom">
</div>
</div>
<div class="contentbox">
<!-- in here i write my text -->
</div>
</div>
</div>
<div class="bottombar"><img src="images/bottom_bar.jpg"></div>
<div id="footer">
<div class="adresbalk">
<!-- here comes the address -->
</div>
</div>
and these are the different defenitions in my stylesheet
body {
background-color: #E3E3E3;
font-family: Arial;
font-size: 11px;
}
..whitebox {
background-color:#ffffff;
padding-top: 0px;
color:#425967;
}
..centraal {
background-color: #ffffff;
text-align: left;
border: 0px none;
margin-left:auto;
margin-right:auto;
padding: 0px;
width: 650px;
}
..bottombar {
width: 650px;
margin-left: auto;
margin-right: auto;
}
..contentbox {
font-family: Arial;
font-size: 0.95em;
color: black;
width: 510px;
float: right;
}
..menukolom {
padding: 5px;
line-height: 150%;
background-color: #C3D678;
font-family: Arial;
font-size: 1.05em;
font-weight: bold;
color: white;
width: 113px;
margin-left: 3px;
float: left;
}
..menubottom {
background: url(images/bottom_menukolom.gif) no-repeat bottom;
float: left;
width: 123px;
height: 82px;
margin-left: 3px;
}
..menucontainer {
width: 125px;
float: left;
margin-top: 3px;
}
does anyone have an idea what i might be doing wrong that causes the white
content not to be displayed in FF and Netscape?
Thx in advance!
Thomas
P.S. Page can be seen on http://www.techtransfer.ugent.be/voedingsproject/