SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can not center ul in IE7

    Hi,
    I have a problem with this http://gasolicious.com/examples/
    The menu is a ul and can not be centered in IE7
    I can not set a fixed width on the menu.
    any ideas?
    thanks in advance.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    You may just be able to use display: inline for IE7, as mentioned here:

    http://www.sitepoint.com/forums/css-...ml#post4906479

    Code:
    * html #main-nav {display:inline;} /*IE6*/
    *+html #main-nav {display:inline;} /*IE7*/
    Personally, though, I wound't worry about IE7 and under any more. They are dinosaurs with barely any users any more.


Tags for this Thread

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
  •