scrollpane with multiple images code example

Example: how to scroll multiple images in html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
</head>

<body>    <div style="width:750px; background-color:white; height:120px; overflow:scroll; overflow-x: scroll; overflow-y: hidden;">
       <div style="width:1000px;">
      <img style=" float:left; display:inline" src="images_news/image1.gif" width="160" height="90" alt="bbc news special" />
      <img style=" float:left; display:inline"  src="images_news/image1.gif" width="160" height="90" alt="bbc news special" />
      <img style=" float:left; display:inline"  src="images_news/image1.gif" width="160" height="90" alt="bbc news special" />
      <img style=" float:left; display:inline"  src="images_news/image1.gif" width="160" height="90" alt="bbc news special" />
      <img style=" float:left; display:inline"   src="images_news/image1.gif" width="160" height="90" alt="bbc news special" />
      <img style=" float:left; display:inline"   src="images_news/image1.gif" width="160" height="90" alt="bbc news special" /></div>


    </div>
</body>
</html>

Tags:

Html Example