We would like to know how to place img vertically without space between.
<!--from w w w . j av a 2s.c o m-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
img {
padding: 0;
margin: 0;
display: block;
}
</style>
</head>
<body>
<div>
<img border="0"
src="http://www.java2s.com/style/download.png">
</div>
<div>
<img border="0"
src="http://www.java2s.com/style/download.png">
</div>
</body>
</html>
The code above is rendered as follows: