Forum Moderators: open
I have a page that displays different images in a given DIV. I have given it a fixed width, with an overflow for when the picture is larger. All this works fine in IE, but netscape ignores the overflow and just makes the area bigger.
Anyone has an idea of how this happens and what could be done?
Below is the code used in the php file, and below that is the css file.
<div class="photo" align="center"><img id="photo" src="<?=$grote_photo?>" alt=""></div>
CSS
.photo {
overflow-x: auto;
overfow-y: hidden;
width: 540;
align: center;
}
Thanks a lot,
- d#nimrod