<html>
<head>
<style>
.endorsementfloat {width: 10%; height:10%; margin-right:5%; float:left } /* max-height:10%, max-width:10%; */
</style>
</head>
<body>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div style="clear:both"></div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
<div class='endorsementfloat'> <a href='http://www.google.com/'><img src='pics/snowcritter.jpg' width='100%'></a> </div>
</body>
</html>
You can see the output at www.wardricker.com/temporary.html.
In IE the pictures all line up nicely in rows, but are more than 10% in height. It is really weird in Firefox, which seems to overlap the top row with the second row, but 10% lower on the screen. How can I make the divs the height that I want?

New Topic/Question
Reply



MultiQuote







|