Hi,
In a lot of ways divs are starting to feel a lot more natural than tables for layout. As I've been learning more about css, I'm stepping away from Dreamweaver and starting to go over my site page-by-page in a text editor, and fix it up. I'm really shocked at how much code I'm getting rid of, and how a lot of it just doesn't make sense.
My current project is my Rocky Mountains Photo Gallery. I'm still catching up on redoing the images, but already the page is "springy" and finds the best layout for the client's resolution. But the last photo on the page, the panorama ( from Geyser Valley in Yellowstone ), I'm trying to put on its own line. Can anybody tell me what I'm doing wrong? I tried a couple of brs and putting the image in a div with no float.
Even though I added a div around each thumbnail / caption pair, and the imgs are more complex, I got rid of the code below ... on top of making the page work the way I want it to:
Code:
<table border="0">
<tr>
<td colspan="3" class="H1"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#000000"/td>
</tr>
<!-- repeated 10x for rows of images with captions beneath -->
<tr>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
</tr>
<!-- repeated 10x -->
<tr>
<td colspan="3"><div align="center"></div>
<div align="center"></div>
<div align="center"></div></td>
</tr>
</table>
|