Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Spry menu problem [split topic]
Old 03-19-2008, 09:34 PM Spry menu problem [split topic]
VMC
Junior Talker

Posts: 3
Name: Victoria Colotta
Location: New Jersey
Trades: 0
Has anyone had a problem with moving spry menus?

I have just used a spry menu for a site that I have created and it
looks great on my Mac in Safari and Firefox, but when I go on my PC
the drop down menu (submenu) shifts to the top of the website instead
of acting as a drop down. I updated the spry menu to 1.6, but it still
doesn't work.

PHP Code:
Here is the css code:

@
charset "UTF-8";

/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights
reserved. */

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

 
LAYOUT INFORMATIONdescribes box modelpositioningz-order

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

/* The outermost container of the Menu Bar, an auto width box with no
margin or padding */
ul.MenuBarHorizontal
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
cursor: default;
    
widthauto;
}
/* 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-index1000;
}
/* Menu item containers, position children relative to this container
and are a fixed width */
ul.MenuBarHorizontal li
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
positionrelative;
    
text-alignleft;
    
cursorpointer;
    
floatleft;
}
/* 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
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
z-index1020;
    
cursor: default;
    
width8.2em;
    
positionabsolute;
    
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
{
    
leftauto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
    
width: ;
}
/* Submenus should appear slightly overlapping to the right (95%) and
up (-5%) */
ul.MenuBarHorizontal ul ul
{
    
positionabsolute;
    
margin00 0 25em;
}
/* 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
{
    
leftauto;
    
top0;
}

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

 
DESIGN INFORMATIONdescribes color schemebordersfonts

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

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
    
borderOpx solid #CCC;
}
/* Menu items are a light gray block with padding and no text
decoration */
ul.MenuBarHorizontal a
{
    
displayblock;
    
cursorpointer;
    
background-color#260608;
    
padding0;
    
color#260608;
    
text-decorationnone;
}
/* Menu items that have mouse over or focus have a blue background and
white text */
ul.MenuBarHorizontal a:hoverul.MenuBarHorizontal a:focus
{
    
background-color#260608;
    
color#260608;
}
/* Menu items that are open with submenus are set to MenuBarItemHover
with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHoverul.MenuBarHorizontal
a
.MenuBarItemSubmenuHoverul.MenuBarHorizontal
a
.MenuBarSubmenuVisible
{
    
background-color#260608;
    
color#260608;
}

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

 
SUBMENU INDICATIONstyles 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-repeatno-repeat;
    
background-position9550%;
}
/* 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-repeatno-repeat;
    
background-position9550%;
}
/* 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-repeatno-repeat;
    
background-position9550%;
}
/* 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-repeatno-repeat;
    
background-position9550%;
}

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

 
BROWSER HACKSthe 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
{
    
positionabsolute;
    
z-index1010;
    
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 screenprojection
{
    
ul.MenuBarHorizontal li.MenuBarItemIE
    
{
        
displayinline;
        
f\loatleft;
        
background#260608;
    
}

VMC is offline
Reply With Quote
View Public Profile Visit VMC's homepage!
 
 
Register now for full access!
Reply     « Reply to Spry menu problem [split topic]
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17661 seconds with 12 queries