Footer (basement) in the opera, Mozilla and Google a little (2-3 pixels) runs over the frame of the diva-container. Everything is fine in IE. Although not very noticeable, but why is this happening? Like the div footer is inside. With other blocks, everything is fine. I have a div container and three divas in it: Header, Content, Footer. The width is fixed at all by 850 pixels. Here is the css code:
body{ background:#CFF; width:auto; padding-left:50%; margin:0; } #main{ width:850px; border:10px groove #99F ; background:#FEFEFE; margin-left:-425px; padding:0; } #header1{ background-image: url(images/header1.jpg); width:850px; height:128px; background-repeat:no-repeat; } #glav{ float:left; width:auto; margin-left:20px; font:italic 18px bolder Arial, Helvetica, sans-serif; } #menu{ float:left; width:auto; clear:left; margin-left:20px; font:italic 18px bolder Arial, Helvetica, sans-serif; } #ist{ float:left; width:auto; clear:left; margin-left:20px; font:italic 18px bolder Arial, Helvetica, sans-serif; } #content{ width:auto; margin-left:50px; margin-right:50px; text-align: justify; } p{ text-indent:2em; } #footer{ background-image: url(images/footer.jpg); width:850px; height:30px; background-repeat:repeat-x; margin-top:500px; font-size: 9px; text-align:right; padding-right:10px; padding-top:5px; }
And when there is no indentation around the text - everything is fine, but it is worth adding indents - everything moves down this way, and without indents is ugly, the text presses up and to the right.