Spry menu klapt niet uit

Status
Niet open voor verdere reacties.

Vanille

Nieuwe gebruiker
Lid geworden
24 mrt 2011
Berichten
3
Hallo

Mijn spry menu in Dreamweaer klapt niet uit, terwijl ik dit wel heb aangegeven.
Kan iemand mij helpen? Hieronder de css van de spry menu bar.
Het probleem ligt op de volgende site: http://www.samavzw.be/test_reserve.html

@charset "UTF-8";

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

/* Copyright (c) 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: 20;
padding: 20;
list-style-type: none;
cursor: default;
width: auto;
height: auto;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
text-align: left;
display: block;
background-color: #CCCCCC;
}
/* 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/layout/images/menu_vol_17.gif);
font-size: 14px;
}
/* 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: 14px;
position: relative;
text-align: left;
cursor: pointer;
width: 10em;
float: left;
height: 15px;
background-color: #FFFFFF;
display: block;
background-repeat: no-repeat;
overflow: visible;
visibility: visible;
}
/* 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
{
list-style-type: none;
font-size: 14px;
cursor: default;
position: absolute;
left: -1000em;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
margin-top: -7;
margin-bottom: 0;
color: #AD0D0D;
margin-right: 0px;
margin-left: -7px;
height: auto;
width: 127px;
padding-top: 1.4;
padding-right: 0;
padding-bottom: 1.4;
padding-left: 0;
background-repeat: no-repeat;
display: block;
background-image: url(../images/layout/images/menu_vol_17.gif);
}
/* 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
{
background-repeat: repeat;
padding: 0px;
width: 127px;
margin-right: 20px;
margin-left: 20px;
margin-top: -5px;
background-color: #DADADA;
display: block;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: 127px;
height: auto;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
margin-top: -5px;
margin-right: 0px;
margin-bottom: 1px;
margin-left: -5px;
padding-top: 1.4px;
padding-right: 0px;
padding-bottom: 1.4px;
padding-left: 0px;
background-repeat: no-repeat;
display: block;
color: #AD0D0D;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin-top: 10%;
margin-right: 10;
margin-bottom: 0;
margin-left: 95%;
}
/* 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-repeat: no-repeat;
width: 127px;
margin-right: 20px;
margin-left: 20px;
margin-top: -5px;
padding: 5px;
background-image: url(../images/layout/images/menu_klap_leeg_17_17.gif);
}

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

DESIGN INFORMATION: describes color scheme, borders, fonts

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

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-image:url(../images/layout/images/menu_vol_17.gif);
background-repeat:no-repeat;
color: #FFFFFF;
text-decoration: none;
padding-top: 0.4em;
padding-right: 0em;
padding-bottom: 1em;
padding-left: 1em;
margin-right: 0px;
margin-left: 0px;
background-color: #CCCCCC;
font-size: 12px;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-image: url(../images/layout/images/menu_klap_leeg_17_17.gif);
display: block;

}
/* 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
{
color: #AD0D0D;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
background-image: url(../images/layout/images/menu_leeg_17.gif);
font-weight: bold;
background-repeat: no-repeat;
display: block;
}

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

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(../images/layout/images/menu_klap_vol_17.gif);
display: block;

}


/* 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 ul a.MenuBarItemSubmenu
{
background-repeat: repeat;
background-image: url(../images/layout/images/menu_klap_leeg_17_17.gif);
}
/* 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-repeat: no-repeat;
background-image: url(../images/layout/images/menu_klap_leeg_17_17.gif);
}
/* 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(../images/layout/images/menu_klap_leeg_17_17.gif);
background-repeat: repeat;
}

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

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
{
z-index: 1010;
display: block;
}
/* 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: block;
f\loat: left;
background: #FFF;
}
}
 
Hallo :thumb:

Het probleem ligt volgens mijn bij het invoegen in je html-code
in u code staat er
<li><a href="Wie_zijn_we.html" class="MenuBarItemSubmenu">Wie zIJn wE?</a>
wat er normaal zo moet uit zien
<li><a class="MenuBarItemSubmenu" href="Wie_zijn_we.html">Wie zIJn wE?</a>

dus eerst je <a class="MenuBarItemSubmenu" en dan je href="Wie_zijn_we.html">titel</a>

Dus alles kontroleren in je html code

groetjes michelscot :cool:
 
Hey

Dat doet het em niet. Het menu verdwijnt hierdoor zelfs...

Groetjes
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan