<snip>
It is almost there, I think I meant to say, center the pictures inside the
div, not center the div.
I am having a hard time centering the images inside the div.
I would love the 4 photos to be right beside each other, and the big
rendering would not wrap around.
The photos would then be a min. of 2 beside eachother and centered under the
big rendering above.
How about this. You don't need to wrap each image in a div, just set the
image style the way you want it. Setting text align center centers the
images. If you don't control the width of the div it will expand to be
as wide as possible, it doesn't good to me this way but I'm sure you get
the idea.
..imgwrapper{
text-align: center;
}
..pic{
margin: 1px;
}
<div class="imgwrapper">
<img class="pic" src="madison_files/M268-MADISON-KIDSROOM.gif">
<img class="pic" src="madison_files/M268-MADISON-LR.gif">
<img class="pic" src="madison_files/M268-MADISON-STAIRS.gif">
<img class="pic" src="madison_files/M268-MADISON-KIDSROOM.gif">
<img class="pic" src="madison_files/exterior.jpg">
</div><!-- imgwrapper -->
Also, use em or % to size fonts so the browser can resize them:
body, p, td {
font-size: 1em; /* 14px; */
line-height: 1em; /* 14px; */
And you can ditch the table and use a div.
..myCell {
background-color: #002c70;
padding: 0;
margin: 0;
border: 0;
width: 130px;
}
<div class='myCell'>
<a href="wyndham.shtml" title="The Wyndham"><img
src="madison_files/wyndhamthumb.jpg" alt="Wyndham thumbnail" height="84"
width="130"></a>
<a href="madison.shtml" title="The Wyndham"><img
src="madison_files/madisonthumb.jpg" alt="Madison thumbnail" height="84"
width="130"></a></td></tr>
<a href="dufferin.shtml" title="The Dufferin"><img
src="madison_files/dufferinthumb.jpg" alt="Dufferin thumbnail"
height="84" width="130"></a></td></tr>
<a href="bancroft.shtml" title="The Bancroft"><img
src="madison_files/bancroftthumb.jpg" alt="Bancroft thumbnail"
height="84" width="130"></a></td></tr>
<a href="belaire.shtml" title="The Belaire"><img
src="madison_files/belaireredthumb.jpg" alt="Belaire thumbnail"
height="84" width="130"></a></td></tr>
<a href="augusta.shtml" title="The Augusta"><img
src="madison_files/augustathumb.jpg" alt="Augusta thumbnail" height="84"
width="130"></a></td></tr>
<a href="seville.shtml" title="The Seville"><img
src="madison_files/sevillethumb.jpg" alt="Seville thumbnail" height="84"
width="130"></a></td></tr>
<a href="fairway.shtml" title="The Fairway"><img
src="madison_files/fairwaythumb.jpg" alt="Fairway thumbnail" height="84"
width="130"></a></td></tr>
</div>
Does that do what you want?
Mike