I would appreciate if any designer can help me out on these two issues I'm trying to solve.
To clarify, I'm using Firefox 2 on Vista 64 bit Ultimate.
I also tested it with IE7 (32bit and 64bit versions).
Same problem on all 3 browsers / versions.
#1
The green hover disappears on the tab when the drop down is visible
Hovered on Tab
[IMG]http://aycu40.webshots.com/image/42079/2002192255228255486_rs.jpg[/IMG]
Hovered on tab's sub menu, green disappears (but should not)
[IMG]http://aycu24.webshots.com/image/44303/2002197490775326122_rs.jpg[/IMG]
Entire site.css file
body {
margin:0px;
padding:0px;
border:0px;
color:#738f93;
font-family: Tahoma, "Trebuchet MS", Arial, Verdana, Lucida, Sans-Serif;
font-size:12px;
line-height:16px;
background-color:#c3dcf1;
background-image:url(../images/bgd_page.gif);
background-repeat:repeat-x;
}
A:link, A:active, A:visited {
color:#2fb4c8;
text-decoration: none;
}
A:hover {
color:#2fb4c8;
text-decoration: underline;
}
/* ------------------ */
/* primary navigation */
/* ------------------ */
#menu {
margin:0px;
padding:0px;
background-image:url(../images/navigation/primary_nav_full_bgd.gif);
background-repeat:no-repeat;
height:42px;
}
ul#primary-navigation {
margin:0px;
padding:0px;
white-space: nowrap;
padding:10px 0px 0px 14px;
}
#primary-navigation li {
margin:0px;
padding:0px;
display:inline;
list-style-type: none;
float:left;
margin: 0 5px 0 0;
}
#primary-navigation li a {
display:block;
padding:0;
margin-right:4px;
}
/* These items were changed */
#primary-navigation li a span { display: none;}
#menuItemHome .tab,
#menuItemServices .tab,
#menuItemWhy .tab,
#menuItemSupport .tab,
#menuItemAbout .tab,
#menuItemPartner .tab { display: block; height: 32px; }
#menuItemHome .tab { width: 64px; background:url(../images/navigation/_home.gif) no-repeat top left;}
#menuItemServices .tab { width: 80px; background:url(../images/navigation/_services.gif) no-repeat top left;}
#menuItemWhy .tab { width: 79px; background:url(../images/navigation/_why.gif) no-repeat top left}
#menuItemSupport .tab { width: 80px; background:url(../images/navigation/_support.gif) no-repeat top left}
#menuItemAbout .tab { width: 86px; background:url(../images/navigation/_about.gif) no-repeat top left}
#menuItemPartner .tab { width: 86px; background:url(../images/navigation/_order.gif) no-repeat top left}
#menuItemHome .tab:hover,
#menuItemServices .tab:hover,
#menuItemWhy .tab:hover,
#menuItemSupport .tab:hover,
#menuItemAbout .tab:hover,
#menuItemPartner .tab:hover {background-position: left bottom;}
/* drop down box elements */
#primary-navigation li ul {
position:absolute;
width:150px;
left:-999em;
margin:0px;
padding:0px;
font-size:11px;
color:white;
}
#primary-navigation li:hover ul, #primary-navigation li.sfHover ul {
left: auto;
}
/* individual drop down menu widths */
#dropMenuServices li, #dropMenuWhy li, #dropMenuSupport li, #dropMenuAbout li, #dropMenuPartner li {
margin:0;
padding:0;
display:block;
}
#dropMenuServices a, #dropMenuWhy a, #dropMenuSupport a, #dropMenuAbout a, #dropMenuPartner a {
width:140px;
}
#dropMenuServices a {
width:175px;
}
#dropMenuServices a:link, #dropMenuWhy a:link, #dropMenuSupport a:link, #dropMenuAbout a:link, #dropMenuPartner a:link {color:white;}
#dropMenuServices a:visited, #dropMenuWhy a:visited, #dropMenuSupport a:visited, #dropMenuAbout a:visited, #dropMenuPartner a:visited {color:white;}
#dropMenuServices li a:link, #dropMenuServices li a:visited, #dropMenuWhy li a:link, #dropMenuWhy li a:visited, #dropMenuSupport li a:link, #dropMenuSupport li a:visited, #dropMenuAbout li a:link, #dropMenuAbout li a:visited, #dropMenuPartner li a:link, #dropMenuPartner li a:visited {
background-image: url(../images/navigation/primarynav_drop_item.gif);
background-repeat:repeat;
background-position:top left;
padding:5px;
}
#dropMenuServices li a:hover, #dropMenuServices li a:active, #dropMenuWhy li a:hover, #dropMenuWhy li a:active, #dropMenuSupport li a:hover, #dropMenuSupport li a:active, #dropMenuAbout li a:hover, #dropMenuAbout li a:active, #dropMenuPartner li a:hover, #dropMenuPartner li a:active {
background-image: url(../images/navigation/primarynav_drop_item_hover.gif);
background-repeat:repeat;
background-position:bottom;
padding:5px;
}
/* ---------------- */
/* general layout */
/* ---------------- */
#header{
margin:auto;
width:834px;
}
#body-container {
margin:auto;
padding:18px 18px 0px 18px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:798px;
background-color:#FFFFFF;
}
#body-container-client {
margin:auto;
padding:18px 18px 0px 18px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:798px;
background-color:#FFFFFF;
}
#body-container-client-support {
margin:auto;
padding:9px 9px 0px 9px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:816px;
background-color:#FFFFFF;
}
/* ------------------------- */
/* sub-menu tabs */
/* ------------------------- */
#tabcell td:hover {
background:#c3dcf1;
}
/* ---------------- */
/* footer */
/* ---------------- */
#footer {
margin:auto;
margin-top:10px;
padding:18px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:798px;
background-color:#9ec5e5;
border:1px solid #93c5ef;
border-top:none;
}
#footer-navigation {
color:white;
font-size:11px;
line-height:20px;
}
#footer-navigation li:hover {
background:#8bb6d9;
}
#footer-navigation a {
color:white;
}
#footer-navigation a:hover {
color:white;
}
.f_home {
width:40px;
float:left;
margin-right:8px;
}
.f_services {
width:140px;
float:left;
margin-right:8px;
}
.f_whyus {
width:90px;
float:left;
margin-right:8px;
}
.f_support {
width:130px;
float:left;
margin-right:8px;
}
.f_about {
width:120px;
float:left;
margin-right:8px;
}
.f_cc {
width:800px;
float:left;
margin-right:8px;
}
.footer-navigation-heading {
color:white;
font-size:11px;
font-family:inherit;
font-weight:normal;
background-color:#8bb6d9;
margin:0px;
padding:6px;
}
.footer-navigation-heading2 {
color:#white;
font-size:11px;
font-family:inherit;
font-weight:normal;
background-color:#8bb6d9;
margin:0px;
padding:3px 6px 3px 6px;
}
.footer-navigation-cc {
color:#8bb6d9;
font-size:14px;
font-family:inherit;
font-weight:normal;
background-color:#fff;
margin:0px;
padding:5px;
border:3px solid #8bb6d9;
text-align: center;
vertical-align: super;
}
ul.f_services, ul.f_whyus, ul.f_support, ul.f_about
{
margin:0px;
padding: 0px;
text-align:left;
}
ul.f_services li, ul.f_whyus li, ul.f_support li, ul.f_about li
{
list-style:none;
margin:0px;
padding:3px 0px 3px 6px;
border-bottom:1px dotted #fff;
}
#contactdetails {
float:right;
background-color:#FFFFFF;
width:230px;
padding: 10px 0px 10px 0px;
}
#contactdetails p {
padding:0px 0px 0px 10px;
}
/* ------------------------- */
/* hover buttons */
/* ------------------------- */
button {
border:0;
cursor:pointer;
font-weight:bold;
padding:0 10px 0 0;
text-align:center;
text-decoration: none;
}
button span {
position:relative;
display:block;
white-space:nowrap;
padding:0 0 0 10px;
text-align:center;
}
/*blue buttons*/
button.submitBtn {
background:url(../images/btn_blue_right.gif) right no-repeat;
font-size:1.3em;
}
button.submitBtn span {
height:50px;
line-height:50px;
background:url(../images/btn_blue_left.gif) left no-repeat;
color:#fff;
}
button.submitBtn:hover {
background:url(../images/btn_blue_right_hover.gif) right no-repeat;
}
button.submitBtn:hover span {
background:url(../images/btn_blue_left_hover.gif) left no-repeat;
}
/* ------------------------- */
/* Chat Logo */
/* ------------------------- */
#imgmap {
position: relative;
}
#area1 {
position: absolute;
display: block;
left: 603px;
top: 37px;
width: 227px;
height: 47px;
}
Portion of a sub page (example)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>LogicWeb, a smart web solution</title>
<meta name="author" content="LogicWeb" />
<meta name="description" content="LogicWeb, provider of affordable website hosting since 2004." />
<meta name="keywords" content="web hosting, hosting, shared hosting, reseller hosting, cheap domains, multiple domains, affordable web hosting, support, savvis datacenter, LogicWeb, cenixhost, webhost, web host, inexpensive, cheap, australia, bundle multi-accounts, united states, webhosting from savvis, website hosting, reliable, affordable, solutions, services, quality, superior uptime, designers, developers, web agencies, hosting plans, large bandwidth" />
<style type="text/css">
<!--
@import url("styles/site.css");
@import url("styles/homepage.css");
#menuItemHome .tab { background:url(images/navigation/on_home.gif) no-repeat top left; }
.style1 {
border-width: 0;
}
.style2 {
color: #FF722B;
}
.style3 {
text-decoration: underline;
}
-->
</style>
<script type="text/javascript" src="scripts/tabber.js"></script>
<link rel="stylesheet" href="styles/tabs.css" type="text/css" media="screen" />
<!--[if IE]>
<script type="text/javascript">try { document.execCommand(\'BackgroundImageCache\', false, true); } catch(e) {}</script>
<link rel="stylesheet" type="text/css" href="'core/css/designIE.css" />
<style type="text/css">body { behavior: url('.$siteurl.'css/hover-css.htc); }</style>
<![endif]-->
</head>
<body>
<div id="header">
<div id="imgmap">
<a href="/index.php">
<img src="images/header.gif" alt="Logo" class="style1" /></a>
<a id="area1" href="#" onclick="window.open('http://messenger.providesupport.com/messenger/chadi.html', '_blank', 'menubar=0,location=0,scrollbars=auto,resizable=1,status=0,width=500,height=460')"></a>
</div>
<div id="menu">
<ul id="primary-navigation">
<li id="menuItemHome"><a class="tab" href="http://www.logicweb.com"><span>Home</span></a></li>
<li id="menuItemServices"><a class="tab" href="/services/index.php"><span>Services</span></a>
<ul id="dropMenuServices"><li><a href="/services/shared.php">Shared Hosting Plans</a></li>
<li><a href="/services/reseller.php">Reseller Hosting Plans</a></li>
<li><a href="/services/vps/index.php">Virtual Private Servers</a></li>
<li><a href="/services/server/index.php">Linux / Windows Dedicated Servers</a></li>
<li><a href="/services/compare.php">Compare Hosting Types</a></li>
<li><a href="/services/index.php">Additional Services</a></li>
<li><img src="images/navigation/dropmenu_bottom_services.gif" alt="Drop Menu" /></li></ul></li>
<li id="menuItemWhy"><a class="tab" href="/reasons/index.php"><span>Why Us?</span></a>
<ul id="dropMenuWhy"><li><a href="/reasons/awards.php">Awards</a></li>
<li><a href="/network/index.php">Data Center</a></li>
<li><a href="/reasons/index.php">Logical Solutions</a></li>
<li><a href="/reasons/guarantee.php">Guarantee</a></li>
<li><a href="/reasons/testimonials.php">Testimonials</a></li>
<li><img src="images/navigation/dropmenu_bottom_why.gif" alt="Drop Menu" /></li></ul></li>
<li id="menuItemSupport"><a class="tab" href="/portal/index.php"><span>Support</span></a>
<ul id="dropMenuSupport"><li><a href="https://www.logicweb.com/billing">Billing Portal</a></li>
<li><a href="/portal/contact.php">Contact Us</a></li><li><a href="https://www.logicweb.com/support/index.php?_m=knowledgebase&a=view">Knowledgebase</a></li>
<li><a href="/portal/index.php">Support Desk</a></li><li><img src="images/navigation/dropmenu_bottom_why.gif" alt="Drop Menu" /></li></ul></li>
<li id="menuItemAbout"><a class="tab" href="/aboutus/index.php"><span>About Us</span></a>
<ul id="dropMenuAbout"><li><a href="/aboutus/company.php">Company Overview</a></li>
<li><a href="/aboutus/aup.php">Acceptable Use Policy</a></li>
<li><a href="/aboutus/contact.php">Contact Us</a></li>
<li><a href="/aboutus/dmca.php">DMCA</a></li>
<li><a href="/aboutus/faq.php">FAQ</a></li>
<li><a href="/aboutus/privacy.php">Privacy</a></li>
<li><a href="/aboutus/tos.php">Terms of Service</a></li>
<li><img src="images/navigation/dropmenu_bottom_why.gif" alt="Drop Menu" /></li></ul></li>
<li id="menuItemPartner"><a class="tab" href="https://www.logicweb.com/billing/cart.php"><span>Partner</span></a></li>
</ul>
</div>
</div>
#2
I actually just noticed another problem in IE7 specifically (32bit / 64bit same). I know IE is horrible, but from an accessibility point of view I have to try anything I can to make sure it works for all.
See attached. The drop down does not go away when you hover to another tab.
[IMG]http://aycu25.webshots.com/image/43904/2001890566433275998_rs.jpg[/IMG]