SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    drop down not working with IE 8

    please look at www.oceanviewguesthouse.co.uk

    can anyone tell me why the menu drop down options appear to be hidden inIE8
    they appear fine in IE 7

    thanks

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,516
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    it's probably the default top margin on the ul but you seem to have commented out that most important bit.

    Code:
    /* Drop Down Menu 
        #dropdown, #dropdown ul { padding:0px; margin:0px; list-style:none; } /* all lists */
    Remove the comments from above.

    It looks as though you should be floating the inner elements also but you have also commented them out which is why the display is broken.

    Code:
    */  #dropdown a, #dropdown a span {
    display:block!important;
    float:left;
    position:relative;
    }
    Remove the starting comment.


Bookmarks

Posting Permissions

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