sorry, I meant get rid of the individual margins, such as
Code:
#miscellany
{
height:195px;
width:280px;
float:left;
margin-left:-585px;
margin-top:265px;
}
Just give everything a smaller margin (say, 10px) for spacing between items, instead of for positioning.
In fact, you should probably eliminate all of those #id entries completely - the width and height are already defined in the <img> tag, the float is unnecessary (and potentially problematic), and the margins (also problematic) will be handled in the new css (below).
Try this model:
PHP Code:
<div id="menu_images">
<ul>
<li class="inline">
<div id="buildings" class="menu">
<a href="Buildings.php">
<img src="Menu_Images/Buildings.png" width="280" height="195" alt="Buildings" />
</a>
</div>
</li>
<li>
<!-- other image div -->
</li>
<!-- etc. -->
</ul>
</div>
with this css:
Code:
li.inline {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
margin: 10px;
zoom: 1;
*display: inline;
}
Looks pretty good from early testing (try resizing the browser window to see what happens)
Bookmarks