How To Scroll Multiple Images In Html 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>

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable