Forum Moderators: not2easy
Is there a way to say give all cells in the table a one centimeter padding on all sides of the cell? Help!
if it's just images you're using, the following will be much simpler HTML code:
...
<style type="text/css">
#imageholder{border-left:2px black dotted;border-top:2px black dotted;}
#imageholder img{border-right:2px black dotted;border-bottom:2px black dotted;padding:10px;float:left}
...
</style>
...
<div id="imageholder">
<img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img>
</div>
...
Also, may I ask why you're using cm for units of measurement? it's a pretty rare situation, usually only when sealing with printer layouts.
sonjay. This gives me the padding I need so the thumbnails aren't pushed up against each other. And it works good.
X. What I'm doing is creating a page of thumbnail images and using them as links to the larger pictures. It reduces the download time.
As far as cm go, it was just a handy unit of measure. Px or inches would just as well.
Your method works good too, and I'm working on getting the thumbnails to link to the larger images.
For some, the image padding may look rather thing, relative to the image, while for others, it would look over-padded, a little strange.