I have the following css for my header. #masthead { padding: 10px; overflow: hidden; text-align: left; background-color: #3366FF; margin-right: 100px; margin-left: 150px; height: 135px; } The image and text overflow is properly hidden in IE7, IE8, Othello, and Safari but not in Firefox 3.5. In FF the image overflows into the body Any ideas? Maybe a bug in FF? Thanks for the help.
What image? What text? You don't show enough to help you. We need the complete markup. Also, Firefox has no problems with overflow but IE7 does.
What Moe and Larry are trying to say is that CSS without the HTML it goes with is gibberish.... What is #masthead even assigned to? Are you sure it's assigned to an element that can even HAVE a height applied to it? Do you mean on the horizontal axis where you don't even declare a width (therein there's nothing to contain it)?