Forum Moderators: not2easy
Many thanks,
Geoff
[edited by: tedster at 5:12 pm (utc) on Jan. 13, 2004]
Then you would float to the left your images, rather than the text.
You'll find some good ideas in Eric Meyer's book On CSS, and from the Alistapart site.
Thanks,
Geoff
[edited by: tedster at 5:13 pm (utc) on Jan. 13, 2004]
<style>
#holder {
width: 585px;
height: 300px;
border: 1px #ccc dashed;
}
ul {
margin: 0px;
}
li {
font-family: verdana;
font-size: 10px;
text-align: center;
}
li.thumb {
width: 110px;
height: 75px;
display: inline;
padding: 2px;
}
li.desc {
width: 80px;
height: 75px;
display: inline;
}
</style>
<body>
<div id="holder">
<ul>
<li class="thumb">
<a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
</ul>
<br>
<ul>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
</ul>
<br>
<ul>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
<li class="thumb"><a href=http://www.vanillapearl.com>
<img src=image.gif alt="image" border=0></a></li>
<li class="desc">A picture of a stack of books</li>
</ul>