Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Thank you I indeed had it under template default. thank you so much!!!
    Works and looks awesome!
    ~Renee
    [FONT="Comic Sans MS"]Red[/FONT]

  2. #2
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Well I spoke to soon and I forgot to check the dreaded IE .
    See here: http://www.auto-xtras.net/shop/

    It is wrapping is there something I need to add to the CSS? to have it not do this in IE.

    ~Renee
    [FONT="Comic Sans MS"]Red[/FONT]

  3. #3
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Hi Renee,
    "Nice", except I personally find the text a bit hard on the eyes, a bit glarie and the small font style (my two bobs worth). As for the wrap I experienced the same thing for small resolution. Unsure of what you can do, sorry.

  4. #4
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Thanks, Site is for a customers design :)
    And the customer is always right!

    I have been trying an earlier post referring to em to px but when I tried that it cut off half the bar as well still wrapping so I am still lost.

    ~Renee
    [FONT="Comic Sans MS"]Red[/FONT]

  5. #5
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Here is my style sheet and what I have done from looking at previous post but no luck with centering or wrapping in IE . Any help would be appreciated.
    So you know my text is set to 70.5 but would need to be 72.5 .

    Code:
    body {  
        behavior: url(includes/csshover.htc);
        }
        
    /*green*/
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #4f4f4f!important;background:#D5E88F;}
    
    
    /*blue
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background:#6C99D9;}
    */ 
    
    /*red 
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background:#DC262E;}
    */ 
    
    /*grey 
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #4f4f4f!important;background:#D5D5D5;}
    */
        
    div#dropMenu {
        width:899px;
        margin:0 auto;
        text-align:center;
        z-index:1000;
        position:relative;
        }
    
    
    div#dropMenu ul {
            margin:0;
        padding:0;
        }
        
    div#dropMenu li {
        position:relative;
        list-style:none; 
        margin:0; 
        float:left; 
        line-height:1em;
        width:16.667%;
        *width:16.649%;
        }
        
    div#dropMenu ul.level1 {
        width:899px;
        margin:0 auto; 
        text-align:center;
        background:#4f4f4f; /*background color of top menu when NOT selected. */
        z-index:1000;
        float:left;
        }
    
    div#dropMenu li a {
        display: block;
        /* Hides from IE5-mac \*/
        height: 1%;
        /* End hide from IE5-mac */ 
        padding: .6em 2px .6em 2px;
        text-decoration: none; 
        text-transform:uppercase; 
        color:#ffffff; 
        text-align:center; 
        border-right:1px solid #ffffff;
        }    
        
    div#dropMenu li:hover {}
    /*div#dropMenu li.submenu {background: url(../images/dropmenu.gif) 95% 50% no-repeat;} */
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a.noLine {border:none;}
    div#dropMenu>ul a {width: auto;z-index:1000;}
    div#dropMenu ul ul {display: none;}
    div#dropMenu ul ul li {border-bottom: 1px solid #CCC; width:12em;z-index:1000;}
    /*div#dropMenu li.submenu li.submenu {background: url(../images/submenu.gif) 95% 50% no-repeat;} */
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5,
    div#dropMenu ul.level5 li.submenu:hover ul.level6,
    div#dropMenu ul.level6 li.submenu:hover ul.level7,
    div#dropMenu ul.level7 li.submenu:hover ul.level8 {position: absolute; width: 12em;display:block;z-index:1000;}
    div#dropMenu ul.level2 {background:#4f4f4f;z-index:1000;position:absolute;left:0;}
    div#dropMenu ul.level3, 
    div#dropMenu ul.level4, 
    div#dropMenu ul.level5, 
    div#dropMenu ul.level6, 
    div#dropMenu ul.level7,
    div#dropMenu ul.level8{top: 0; left: 12em; background:#4f4f4f}
    div#dropMenu ul.level2 a {padding: 0.5em 0 0.5em 0.25em;color: white; text-transform:none;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#4f4f4f;}
    
    .clearBoth {
        clear:both;
        height:0;
        font-size:0;
        line-height:0;
        }
    [FONT="Comic Sans MS"]Red[/FONT]

  6. #6
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Anyone? I would greatly appreciate as the changes I keep trying to make make no effect in IE. and I have played quite a bit.
    ~Renee
    [FONT="Comic Sans MS"]Red[/FONT]

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by Redcinamn View Post
    Anyone? I would greatly appreciate as the changes I keep trying to make make no effect in IE. and I have played quite a bit.
    ~Renee
    You can try making this smaller little by little till it stops:

    *width:16.649%;

    but the font is probably too big, and will wrap no matter what. IT barely fits in Firefox, and IE always makes fonts a bit bigger by default.

 

 

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 AM

Posting Permissions

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