<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="imgwrapp er">
<img class="pic" src="madison_fi les/M268-MADISON-KIDSROOM.gif">
<img class="pic" src="madison_fi les/M268-MADISON-LR.gif">
<img class="pic" src="madison_fi les/M268-MADISON-STAIRS.gif">
<img class="pic" src="madison_fi les/M268-MADISON-KIDSROOM.gif">
<img class="pic" src="madison_fi les/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.s html" title="The Wyndham"><img
src="madison_fi les/wyndhamthumb.jp g" alt="Wyndham thumbnail" height="84"
width="130"></a>
<a href="madison.s html" title="The Wyndham"><img
src="madison_fi les/madisonthumb.jp g" alt="Madison thumbnail" height="84"
width="130"></a></td></tr>
<a href="dufferin. shtml" title="The Dufferin"><img
src="madison_fi les/dufferinthumb.j pg" alt="Dufferin thumbnail"
height="84" width="130"></a></td></tr>
<a href="bancroft. shtml" title="The Bancroft"><img
src="madison_fi les/bancroftthumb.j pg" alt="Bancroft thumbnail"
height="84" width="130"></a></td></tr>
<a href="belaire.s html" title="The Belaire"><img
src="madison_fi les/belaireredthumb .jpg" alt="Belaire thumbnail"
height="84" width="130"></a></td></tr>
<a href="augusta.s html" title="The Augusta"><img
src="madison_fi les/augustathumb.jp g" alt="Augusta thumbnail" height="84"
width="130"></a></td></tr>
<a href="seville.s html" title="The Seville"><img
src="madison_fi les/sevillethumb.jp g" alt="Seville thumbnail" height="84"
width="130"></a></td></tr>
<a href="fairway.s html" title="The Fairway"><img
src="madison_fi les/fairwaythumb.jp g" alt="Fairway thumbnail" height="84"
width="130"></a></td></tr>
</div>
Does that do what you want?
Mike