It could mess something else up, as it selects all p elements that are in td elements, and all images that are in those. To make it more specific, use a class:
Code:
.galthumbs p {
margin: 0;
}
.galthumbs p img {
display: block;
padding-bottom: 20px;
}
Then add that class to your td elements containing the thumbs:
Code:
<td class="galthumbs" width="115" valign="top">
<p align="left"><a title="Rental Cabin" rev="loadarea::cabinpond2.jpg" rel="enlargeimage::mouseover" href="../images/cabinpond2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/cabinpond1.jpg"/></a></p>
<p align="left"><a title="Curved Mow" rev="loadarea::curvemowd2.jpg" rel="enlargeimage::mouseover" href="../images/curvemow2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/curvemow1.jpg"/></a></p>
<p align="left"><a title="Nice View" rev="loadarea::fencetree2.jpg" rel="enlargeimage::mouseover" href="../images/fencetree2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/fencetree1.jpg"/></a></p>
<p align="left"><a title="Matt Mowing" rev="loadarea::mattmow2.jpg" rel="enlargeimage::mouseover" href="../images/mattmow2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/mattmow1.jpg"/></a></p>
</td>
<td class="galthumbs" width="115" valign="top">
<p align="left"><a title="Shae Mowing" rev="loadarea::shaemow2.jpg" rel="enlargeimage::mouseover" href="../images/shaemow2.jpg"><img src="images/shaemow1.jpg" alt="1" width="100" height="75" border="0" style="margin-bottom: 5px;"/></a></p>
<p align="left"><a title="Straight Lines" rev="loadarea::straightyard2.jpg" rel="enlargeimage::mouseover" href="../images/straightyard2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/straightyard1.jpg"/></a></p>
<p align="left"><a title="Beautiful Long Yard" rev="loadarea::treeyard2.jpg" rel="enlargeimage::mouseover" href="../images/treeyard2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/treeyard1.jpg"/></a></p>
<p align="left"><a title="Weed Eating Job" rev="loadarea::weedeat2.jpg" rel="enlargeimage::mouseover" href="../images/weedeat2.jpg"><img height="75" border="0" width="100" style="margin-bottom: 5px;" src="images/weedeat1.jpg"/></a></p>
</td>
As to what it does, it flattens all the p elements that you are using (p margin:0), removes all added height from images that some browsers reserve for them because they are native inline elements (img display:block), and adds a uniform padding to the images so that they space out to fit the space created by the larger image (img padding-bottom:20px).
Bookmarks