Hi there Rain Lover,
I have always used two divs for that kind of layout, as it appeared to be the more reliable. 
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<base href="http://lh3.googleusercontent.com/-hUXeHq5OxEo/Thc7hFFv3gI/AAAAAAAAABQ/Yh7omR8iwzI/s800/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>untitled document</title>
<style type="text/css">
#container {
width:300px;
background-color:#0ff;
overflow:auto;
}
#container div {
padding:10px 7px;
width:516px;
overflow:hidden;
}
#container img {
float:left;
margin:0 3px;
}
</style>
</head>
<body>
<div id="container">
<div>
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
</div>
</div>
</body>
</html>
But knowing you, I guess that you will come back and say that using a fixed width is unacceptable
as the number of thumbnails will always remain undetermined. 
So if my assumption is correct, try this little modification to your code...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<base href="http://lh3.googleusercontent.com/-hUXeHq5OxEo/Thc7hFFv3gI/AAAAAAAAABQ/Yh7omR8iwzI/s800/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>untitled document</title>
<style type="text/css">
div {
width:300px;
height:82px;
padding-left:20px;
overflow:auto;
white-space:nowrap;
background-color:#0ff;
}
#last-image {
padding-right:20px;
}
</style>
</head>
<body>
<div>
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img src="thumb1.jpg" alt="">
<img id="last-image" src="thumb1.jpg" alt="">
</div>
</body>
</html>
coothead
Bookmarks