This is a greatly stripped down version of a page I’m working on. Changing ‘style.left’ of the ‘photo’ div will scroll the pictures.
Here’s the problem.
The photo div extends beyond the right edge of the page. This can be ‘sort of’ fixed if I change the ‘gallery_frame.width’ to 80%. but, change to 800×600 resolution, and the problem’s back. What I want, is for the gallery_frame width to be fluid and expand to the right edge of the screen. Once fixed, the ‘overflow.hidden’ will keep the off-screen pictures hidden. In IE and Opera this also gets rid of the horrizontal scroll bar.
I need this to work with IE, Mz, NS, and Op.
Any thoughts would be greatly appreciated.
[code=php]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html><head><title></title>
<style type=”text/css”>
body { margin:0px; padding:0px; }
img { border:0px; }
#nav_wrapper { float:left; padding:70px 12px 0px 12px; border:1px solid #000; }
#content_wrapper { margin-left:163px; padding-top:60px; border:1px solid #000; }
#greystrip { position:absolute; top:370px; left:163px; width:100%; height:120px; background:#1b1c1f; }
#gallery_frame { position:absolute; top:370px; left:163px; width:100%; height:120px; overflow:hidden; }
</style>
</head>
<body>
<div id=”container”>
<div id=”nav_wrapper”><img src=”images/spacer.gif” width=136 height=450></div>
<div id=”content_wrapper”>Content goes here<br><img src=”images/spacer.gif” width=136 height=250></div>
<div>
<div id=”greystrip”></div>
<div id=”gallery_frame”>
<div id=”photos” style=”position:absolute; top:0px; left:0px;”>
<table width=860 cellspacing=0 cellpadding=0 border=0>
<tr align=”center”><td width=20 height=120> </td>
<td width=120><img src=”images/046T.jpg”></td>
<td width=120><img src=”images/047T.jpg”></td>
<td width=120><img src=”images/048T.jpg”></td>
<td width=120><img src=”images/049T.jpg”></td>
<td width=120><img src=”images/050T.jpg”></td>
<td width=120><img src=”images/051T.jpg”></td>
<td width=120><img src=”images/052T.jpg”></td>
</tr>
</table>
</div>
</div>
</body>
</html>