Hi all!!!
I'm designing a website dreanweaver and I started having problems with sprymenubar... Work in a MAC and navigate in safari and firefox and plays perfectly but someone working in Windows can not reproduce well in IE or firefox, In the first menu jumps up and is ranked q shoUld not appear (if I do not understand) and the second to move the mouse across the menu bar becomes a size extragigante...
Agradeceria much help!! I have spent days trying and that is not what happens!! I'm desperate!!
Greetings,
I copy here the code I modified in the Dreamweaver:
Sprymenubarhorizontal.Css:
@ charset "utf-8";
/ * Sprymenubarhorizontal.Css - version 0.6 - Spry Pre-release 1.6.1 * /
/ * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. * /
/************************************************* ******************************
Layout information: Box model describes, 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;
}
/ * Set the active menu bar with this class, Currently setting Z-index to accommodate IE rendering bug:
http:/ / therealcrisp.Xs4all.Nl / meuk / ie-zindexbug.html * /
Ul.Menubaractive
{
Z-index: 1000;
}
/ * 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: Static;
Text-align: Center;
Cursor: DefaUlt;
Width: 9em;
Float: Left;
Background-Color: # f60;
Font-family: Arial, Helvetica, Sans-serif;
}
/ * 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: 1000;
Cursor: DefaUlt;
Width: 9em;
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: 9em;
}
/ * Submenus shoUld appear slightly overlapping to the right (95%) and up (-5%) * /
Ul.Menubarhorizontal Ul Ul
{
Position: Absolute;
Margin: -0% 0 0 100%;
}
/ * 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;
}
/************************************************* ******************************
Design information: Describes Color scheme, Borders, Fonts
************************************************** ***************************** /
/ * Submenu containers have Borders on all sides * /
Ul.Menubarhorizontal Ul
{
Border: 0px solid # ccc;
}
/ * Menu items are a light gray block with Padding and no text decoration * /
Ul.Menubarhorizontal to
{
Display: Block;
Cursor: Auto;
Padding: 0.5em 0.75em;
Text-decoration: None;
}
/ * Menu items that have mouse over or Focus have a blue Background and white text * /
Ul.Menubarhorizontal to:Hover, Ul.Menubarhorizontal to:Focus
{
Background-Color: # f60;
Color: # fff;
Font-size: 11.2px;
Outline-Color: # fff;
Cursor: DefaUlt;
}
/ * Menu items that are open with submenus are set to menubaritemHover with a blue Background and white text * /
Ul.Menubarhorizontal to.MenubaritemHover, Ul.Menubarhorizontal to.MenubaritemsubmenuHover, Ul.Menubarhorizontal to.Menubarsubmenuvisible
{
Background-Color: # f60;
Color: # 000;
}
And this:
Sprymenubarvertical.Css:
@ charset "utf-8";
/ * Sprymenubarvertical.Css - version 0.6 - Spry Pre-release 1.6.1 * /
/ * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. * /
/************************************************* ******************************
Layout information: Box model describes, Positioning, Z-order
************************************************** ***************************** /
/ * The outermost container of the menu bar, A fixed Width box with no Margin or Padding * /
Ul.Menubarvertical
{
Margin: 0;
Padding: 0;
List-style-type: None;
Font-size: 100%;
Cursor: DefaUlt;
Width: 8em;
}
/ * Set the active menu bar with this class, Currently setting Z-index to accommodate IE rendering bug:
http:/ / therealcrisp.Xs4all.Nl / meuk / ie-zindexbug.html * /
Ul.Menubaractive
{
Z-index: 1000;
}
/ * Menu item containers, Position children relative to this container and are same fixed Width as parent * /
Ul.Menubarvertical li
{
Margin: 0;
Padding: 0;
List-style-type: None;
Font-size: 100%;
Position: Relative;
Text-align: Center;
Cursor: Pointer;
Width: 8em;
Background-Color: # ff6600;
}
/ * Submenus shoUld appear slightly overlapping to the right (95%) and up (-5%) with a higher Z-index, But they are initially off the Left side of the screen (-1000em) * /
Ul.Menubarvertical Ul
{
Margin: -5% 0 0 95%;
Padding: 0;
List-style-type: None;
Font-size: 100%;
Position: Absolute;
Z-index: 1020;
Cursor: DefaUlt;
Width: 8em;
Left: -1000em;
Top: 0;
}
/ * Submenu that is showing with class designation menubarsubmenuvisible, We set Left to 0 so it comes onto the screen * /
Ul.Menubarvertical Ul.Menubarsubmenuvisible
{
Left: 0;
}
/ * Menu item containers are same fixed Width as parent * /
Ul.Menubarvertical Ul li
{
Width: 8.2em;
}
/************************************************* ******************************
Design information: Describes Color scheme, Borders, Fonts
************************************************** ***************************** /
/ * Outermost menu container has Borders on all sides * /
Ul.Menubarvertical
{
Border: 0px solid # ccc;
}
/ * Submenu containers have Borders on all sides * /
Ul.Menubarvertical Ul
{
Border: 0px solid # ccc;
}
/ * Menu items are a light gray block with Padding and no text decoration * /
Ul.Menubarvertical to
{
Display: Block;
Cursor: Pointer;
Background-Color: # f60;
Padding: 0.5em 0.75em;
Color: # f60;
Text-decoration: None;
}
/ * Menu items that have mouse over or Focus have a blue Background and white text * /
Ul.Menubarvertical to:Hover, Ul.Menubarvertical to:Focus
{
Background-Color: # 33c;
Color: # fff;
}
/ * Menu items that are open with submenus are set to menubaritemHover with a blue Background and white text * /
Ul.Menubarvertical to.MenubaritemHover, Ul.Menubarvertical to.MenubaritemsubmenuHover, Ul.Menubarvertical to.Menubarsubmenuvisible
{
Background-Color: # f60;
Color: # fff;
}
/************************************************* ******************************
Submenu indication: Styles if there is a submenu under a given menu item
************************************************** ***************************** /
/************************************************* ******************************
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.Menubarvertical iframe
{
Position: Absolute;
Z-index: 1010;
Filter:Alpha (opacity:0.1);
}
/ * 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.Menubarvertical li.Menubaritemie
{
Display: Inline;
Float: Left;
Background: # fff;
}
}