Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Menu bar not right in IE..

    Hi all, I have been stuck on this problem for weeks, trying different things and doing searches for answers, but cannot seem to get a clear answer.
    I have not posted the problem yet, so this is my last resort. Hopefully it is just an easy fix, and I hope someone can help me out.

    Ok, the website is EXACTLY I want it, in Firefox, but in IE, it is wrong.
    Firstly the menu bar at the top is higher than it should be in IE, I fiddled as much as I could, and that was as good as I could get it. I am not too worried about that part.
    The main problem I am having is that the drop down "sub menu" of the bottom menu bar, either does not show up at all in IE, or shows up at the bottom of the page... I also have the problem of the rolover link text of the menu bars not changing in IE 6 (I think) I get some sort of Java script blockage?

    Anyway, the website URL is www.photobookart.com.au

    Here is the css of the menu bar:

    Code:
    DESIGN INFORMATION: describes color scheme, borders, fonts
    
     *******************************************************************************/
    
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    {
    	border: 0px none #CCC;
    	width: 25em;
    	bottom: 1.5em;
    }
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    {
    	display: block;
    	cursor: pointer;
    	background-color: #19191B;
    	padding: 0em;
    	color: #999;
    	text-decoration: none;
    }
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    {
    
    }
    /* 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
    {
    	font-size: 15px;
    	color: #F0D8B2;
    	-moz-outline-color: #19191b;
    }
    
    /*******************************************************************************
    
     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(SpryMenuBarUp.gif);
    	background-repeat: no-repeat;
    	background-position: 95% 50%;
    	background-color: #19191B;
    }
    /* 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-image: url(SpryMenuBarRight.gif);
    	background-repeat: no-repeat;
    	background-position: 95% 50%;
    	background-color: #19191B;
    	color: #F0D8B2;
    }
    /* 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(SpryMenuBarUpHover.gif);
    	background-repeat: no-repeat;
    	background-position: 95% 50%;
    	background-color: #19191B;
    	color: #F0D8B2;
    }
    /* 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(SpryMenuBarRightHover.gif);
    	background-repeat: no-repeat;
    	background-position: 95% 50%;
    	background-color: #19191B;
    	color: #F0D8B2;
    }
    
    /*******************************************************************************
    
     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;
    
    
    	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.MenuBarHorizontal li.MenuBarItemIE
    	{
    	display: inline;
    	f\loat: left;
    	}
    }

    Thank you very much for taking the time to look at this, hope I can be helped.

    Last edited by 1mmort4l; 02-24-2009 at 07:40 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Fix all errors in your markup first, see http://validator.w3.org/check?uri=ht...Inline&group=0

    PS: please edit your above post and add [CODE][/CODE] tags around your code. Thanks!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •