Bingo X
02-07-2005, 05:17 PM
Hello,
I recently dove head-first into a new site design with a bit of a deadline. The site works perfectly in every browser for the Mac (including IE) that I've tested it on, but is presenting a bit of a problem with IE PC.
I've set-up an horizontal nav bar with image swaps, and very specific widths, etc. IE PC renders the images correctly side by side, except seems to "step" each consecutive image down 10px.
Screenshots here:
Correct: www.landworksvt.com/IE_MAC_screenshot.gif
Incorrect: www.landworksvt.com/IE_PC_screenshot.gif
The relevant code is:
<div id="nav">
<ul>
<li id="n-company"><a href="company/index.html">Company</a></li>
<li id="n-capabilities"><a href="capabilities/index.html">Capabilities</a></li>
<li id="n-portfolio"><a href="portfolio/index.html">Portfolio</a></li>
<li id="n-contact"><a href="contact/index.html">Contact Us</a></li>
<li id="n-client"><a href="client/index.html">Client Log-In</a></li>
</ul>
</div>
#nav {
z-index: 2;
background-image: url(../images/nav_bar.gif);
background-repeat: repeat-x;
position: absolute;
top:50px;
height:44px;
width:688px;
}
ul {
list-style: none;
position: relative;
margin: 0;
padding: 0;
height:44px;
}
#n-company a, #n-company a:hover,
#n-capabilities a, #n-capabilities a:hover,
#n-portfolio a, #n-portfolio a:hover,
#n-contact a, #n-contact a:hover,
#n-client a, #n-client a:hover {
text-indent: -9000px;
overflow: hidden;
float: left;
height: 44px;
background-repeat: no-repeat;
}
#n-company a { background: url(../images/buttons/company.gif); width: 150px;}
#n-company a:hover { background: url(../images/buttons/company_up.gif) }
#n-company a.current { background: url(../images/buttons/company_up.gif) }
#n-capabilities a { background: url(../images/buttons/capabilities.gif); width: 131px; margin-left:-1px; }
#n-capabilities a:hover { background: url(../images/buttons/capabilities_up.gif) }
#n-capabilities a.current { background: url(../images/buttons/capabilities_up.gif) }
#n-portfolio a { background: url(../images/buttons/portfolio.gif); width: 131px; margin-left:-1px; }
#n-portfolio a:hover { background: url(../images/buttons/portfolio_up.gif) }
#n-portfolio a.current { background: url(../images/buttons/portfolio_up.gif) }
#n-contact a { background: url(../images/buttons/contact.gif); width: 131px; margin-left:-1px; }
#n-contact a:hover { background: url(../images/buttons/contact_up.gif) }
#n-contact a.current { background: url(../images/buttons/contact_up.gif) }
#n-client a { background: url(../images/buttons/client.gif); width: 149px; margin-left:-1px; }
#n-client a:hover { background: url(../images/buttons/client_up.gif) }
#n-client a.current { background: url(../images/buttons/client_up.gif) }
I'm working in a MAC only environment, so am relying on the help of friends and screenshots for the PC browsers.
The site validates as XHTML and CSS.
The site is live at: www.landworksvt.com . Any help would be much appreciated. Thanks!
I recently dove head-first into a new site design with a bit of a deadline. The site works perfectly in every browser for the Mac (including IE) that I've tested it on, but is presenting a bit of a problem with IE PC.
I've set-up an horizontal nav bar with image swaps, and very specific widths, etc. IE PC renders the images correctly side by side, except seems to "step" each consecutive image down 10px.
Screenshots here:
Correct: www.landworksvt.com/IE_MAC_screenshot.gif
Incorrect: www.landworksvt.com/IE_PC_screenshot.gif
The relevant code is:
<div id="nav">
<ul>
<li id="n-company"><a href="company/index.html">Company</a></li>
<li id="n-capabilities"><a href="capabilities/index.html">Capabilities</a></li>
<li id="n-portfolio"><a href="portfolio/index.html">Portfolio</a></li>
<li id="n-contact"><a href="contact/index.html">Contact Us</a></li>
<li id="n-client"><a href="client/index.html">Client Log-In</a></li>
</ul>
</div>
#nav {
z-index: 2;
background-image: url(../images/nav_bar.gif);
background-repeat: repeat-x;
position: absolute;
top:50px;
height:44px;
width:688px;
}
ul {
list-style: none;
position: relative;
margin: 0;
padding: 0;
height:44px;
}
#n-company a, #n-company a:hover,
#n-capabilities a, #n-capabilities a:hover,
#n-portfolio a, #n-portfolio a:hover,
#n-contact a, #n-contact a:hover,
#n-client a, #n-client a:hover {
text-indent: -9000px;
overflow: hidden;
float: left;
height: 44px;
background-repeat: no-repeat;
}
#n-company a { background: url(../images/buttons/company.gif); width: 150px;}
#n-company a:hover { background: url(../images/buttons/company_up.gif) }
#n-company a.current { background: url(../images/buttons/company_up.gif) }
#n-capabilities a { background: url(../images/buttons/capabilities.gif); width: 131px; margin-left:-1px; }
#n-capabilities a:hover { background: url(../images/buttons/capabilities_up.gif) }
#n-capabilities a.current { background: url(../images/buttons/capabilities_up.gif) }
#n-portfolio a { background: url(../images/buttons/portfolio.gif); width: 131px; margin-left:-1px; }
#n-portfolio a:hover { background: url(../images/buttons/portfolio_up.gif) }
#n-portfolio a.current { background: url(../images/buttons/portfolio_up.gif) }
#n-contact a { background: url(../images/buttons/contact.gif); width: 131px; margin-left:-1px; }
#n-contact a:hover { background: url(../images/buttons/contact_up.gif) }
#n-contact a.current { background: url(../images/buttons/contact_up.gif) }
#n-client a { background: url(../images/buttons/client.gif); width: 149px; margin-left:-1px; }
#n-client a:hover { background: url(../images/buttons/client_up.gif) }
#n-client a.current { background: url(../images/buttons/client_up.gif) }
I'm working in a MAC only environment, so am relying on the help of friends and screenshots for the PC browsers.
The site validates as XHTML and CSS.
The site is live at: www.landworksvt.com . Any help would be much appreciated. Thanks!