Forum Moderators: not2easy
here is the relevant part of the code controlling the menu button:
#menu div.top {
background-image: url(images/tis-bottom-blue2.gif);
background-repeat:no-repeat;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px; }
At first the image wasn't loading on IE on the Mac either until I shortned the name by about 8 characters.
Both the code and the CSS validate.
I can't figure out what might be causing the image to not load and table cells to be extra large.
Any ideas?
Also, you can shorten your css very easily by doing this:
#menu div.top {
background: #FFF url(images/tis-bottom-blue2.gif) no-repeat;
padding: 5px;
}
Also, maybe it has something to do with the dashes in the filename? Have you tried taking them out or replacing them with underscores (in both the css and the actual filename.) I'm not certain of this, just throwing it out there to troubleshoot.
Any suggestions?
CSS----
#menu div.top {
background-image: url(images/bottomblue2.gif);
background-repeat:no-repeat;
padding-top: 3px;
padding-right: 8px;
padding-bottom: 5px;
padding-left: 0px; }
HTML---------
<div id="menu">
<table cellspacing="0" cellpadding="0" border="0">
<tr><td colspan="13" align="center" bgcolor="#336699">
</td></tr><tr><td width="100" align="center" valign="top">
<div class="top"><a href="index.htm">Home</a></div>
</td><td width="0"></td><td width="100" align="center">
<div class="top"><a href="AboutTIS.htm">About TIS</a></div>
</td><td width="0"></td><td width="100" align="center">
<div class="top"><a href="TIS_Consulting.htm">Consulting</a></div>
</td><td width="0"></td><td width="100" align="center">
<div class="top"><a href="Contact.htm">Contact US</a></div>
</td><td width="0"></td><td width="100" align="center">
<div class="top"><a href="Resources.htm">Resources </a></div>
</td></tr></table>
</div>