Jump to content

Spry Navigation Bar Issues


petluver

Recommended Posts

Hello

 

Hoping someone can be so kind to help me. :unsure: I am having a very odd under layer appear under my drop down menus. I want it gone. It's driving me insane. :bash: I also cannot figure out why the top level links that have sub menus are not turning yellow on hover..but the other top level links who do not are turning yellow on hover. Thank you folks in advance.

 

The nav bar in action:

http://critternannies.com/2012_critter_nannies_template9.shtml

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The codes:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

 

Here is the code below:

@charset "UTF-8";

 

/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */

 

/* Copyright © 2006. Adobe Systems Incorporated. All rights reserved. */

 

/*******************************************************************************

 

LAYOUT INFORMATION: describes box model, positioning, z-order

 

*******************************************************************************/

 

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */

ul.MenuBarHorizontal

{

margin: 0;

padding: 0;

list-style-type: none;

font-size: 100%;

cursor: default;

width: auto;

background-image: url(/images/nannies/nav_bg.jpg);

font-family: Verdana, Arial, Helvetica, sans-serif;

}

/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */

ul.MenuBarActive

{

z-index: 1000;

background-image: url(/images/nannies/nav_dwn.jpg);

}

/* Menu item containers, position children relative to this container and are a fixed width */

ul.MenuBarHorizontal li

{

margin: 0;

padding: 0;

list-style-type: none;

font-size: 100%;

position: relative;

text-align: left;

cursor: pointer;

width: 8.1em;

float: left;

background-image: url(/images/nannies/nav_bg.jpg);

}

/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */

ul.MenuBarHorizontal ul

{

margin: 0;

padding: 0;

list-style-type: none;

font-size: 100%;

z-index: 1020;

cursor: default;

width: 160px;

position: absolute;

left: -1000em;

 

 

}

/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */

ul.MenuBarHorizontal ul.MenuBarSubmenuVisible

{

left: auto;

}

/* Menu item containers are same fixed width as parent */

ul.MenuBarHorizontal ul li

{

width: 160px;

background-image: url(/images/nannies/nav_bg.jpg);

}

/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */

ul.MenuBarHorizontal ul ul

{

position: absolute;

margin: -5% 0 0 95%;

background-image: url(/images/nannies/nav_bg.jpg);

}

/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */

ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible

{

left: auto;

top: 0;

background-image: url(/images/nannies/nav_bg.jpg);

}

 

/*******************************************************************************

 

DESIGN INFORMATION: describes color scheme, borders, fonts

 

*******************************************************************************/

 

/* Submenu containers have borders on all sides */

ul.MenuBarHorizontal ul

{

border: 2px solid #ff6;

background-image: url(/images/nannies/nav_bg.jpg);

}

/* Menu items are a light gray block with padding and no text decoration */

ul.MenuBarHorizontal a

{

display: block;

cursor: pointer;

padding: 0.5em 0.85em;

text-decoration: none;

background-image: url(/images/nannies/nav_bg.jpg);

color: #000;

}

/* Menu items that have mouse over or focus have a blue background and white text */

ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus

{

 

color: #000066;

font-style: bold;

font-weight: 100;

background-image: url(/images/nannies/nav_dwn.jpg);

}

/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */

ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible

{

background-image: url(/images/nannies/nav_dwn.jpg);

color: #000;

}

 

/*******************************************************************************

 

SUBMENU INDICATION: styles if there is a submenu under a given menu item

 

*******************************************************************************/

 

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */

ul.MenuBarHorizontal a.MenuBarItemSubmenu

{

background-image: url(SpryMenuBarRight.gif);

background-repeat: no-repeat;

background-position: 95% 50%;

color: #003366;

}

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */

ul.MenuBarHorizontal a.MenuBarItemSubmenuHover

{

background-image: url(SpryMenuBarDown.gif);

background-repeat: no-repeat;

background-position: 95% 50%;

color: #003366;

}

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */

ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover

{

background-image: url(SpryMenuBarDownHover.gif);

background-repeat: no-repeat;

background-position: 95% 50%;

color: #003366;

 

}

 

/*******************************************************************************

 

BROWSER HACKS: the hacks below should not be changed unless you are an expert

 

*******************************************************************************/

 

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */

ul.MenuBarHorizontal iframe

{

position: absolute;

z-index: 1010;

background-image: url(/images/nannies/nav_bg.jpg);

 

}

/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */

@media screen, projection

{

ul.MenuBarHorizontal li.MenuBarItemIE

{

display: inline;

f\loat: left;

background-color: #FFF;

background-image: url(/images/nannies/nav_bg.jpg);

}

}

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

 

<ul id="MenuBar1" class="MenuBarHorizontal">

<li><a href="/aboutus.shtml" title="All About Critter Nannies Dog Walking & Pet Sitting Inc." class="MenuBarItemSubmenu">About Us</a>

<ul>

<li><a href="/affiliations.shtml">Affiliations</a></li>

<li><a href="/aboutfounder.shtml">About The Founder</a></li>

<li><a href="/nannybiographies.shtml">Nanny Biographies</a></li>

<li><a href="/client_testimonials.shtml">Client Testimonials</a></li>

<li><a href="/ourclients.shtml">Our Clients</a></li>

</ul>

</li>

<li><a href="/services.shtml" title="Critter Nannies Dog Walking & Pet Sitting Services" class="MenuBarItemSubmenu">Services</a>

<ul>

<li><a href="/pricing.shtml" title="Service Pricing">Service Pricing</a></li>

<li><a href="/caninecare.shtml">Canine Care</a></li>

<li><a href="/puppycare.shtml" title="Critter Nannies Puppy Care Information">Puppy Care</a></li>

<li><a href="/felinecare.shtml" title="Critter Nannies Feline Care Information">Feline Care</a></li>

<li><a href="/vacationcare.shtml" title="Critter Nannies Vacation Care Information">Vacation Care</a></li>

<li><a href="/pettaxi.shtml" title="Pet Transportation Information">Pet Taxi</a></li>

<li><a href="/medical.shtml" title="Medical Needs Information">Medical Needs</a></li>

<li><a href="/faqs.shtml">FAQ</a>

</li></ul></li>

<li><a href="/servicearea.shtml" title="Critter Nannies Service Area">Service Area</a></li>

 

<li><a href="/contactus.shtml" title="Contact Critter Nannies Dog Walking & Pet Sitting Inc." class="MenuBarItemSubmenu">Contact Us</a>

<ul>

<li><a href="/new_inquiries.shtml" title="New Client Inquiries">New Client Inquiries</a></li>

<li><a href="/reservations.shtml" title="Reserve Future Pet Care">Reserve Pet Care</a></li>

</ul>

</li>

 

<li><a href="/boutique.shtml" title="Shop Our Boutique" class="MenuBarItemSubmenu">Shop</a></li>

<ul>

<li><a href="/merchants.shtml" title="Pawferred Merchants">Pawferred Merchants</a></li>

</ul>

 

</ul>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...