Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:14:43+00:00 2026-05-23T10:14:43+00:00

I know that this has been asked a million times before, but nothing that

  • 0

I know that this has been asked a million times before, but nothing that I have tried has solved the problem. I’m working on a nice looking <select> type thing. I’m basing it off of common CSS drop down navigation menus (using nested <ul>s and <li>s, just with a few tweaks. One of the tweaks is that I need it to display inline (without floating it because it goes past any other elements in the same line as it, and I don’t want to float everything else around it). I’ve got it working well in the browsers besides ie 7 (and probably anything lower, but I don’t need anything lower than ie7). Here is the code: http://jsfiddle.net/ralokz/hjDVS/2/

If you look at that in any non-ie7 browser, it looks like how I want it to:

good menu

But if you look at it in ie7, it looks like this:

bad menu

One site that I saw come up a lot for the inline-block fix is this: http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/. That worked for ie8, but unfortunately ie7 still doesn’t look right.

Is there any other way to fix inline-block for ie7? Or, is there a CSS alternative to make sure the the second level <li>s are always vertically aligned with the the first level <li>? Thanks!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:14:43+00:00Added an answer on May 23, 2026 at 10:14 am

    Add:
    position:relative; to div.dropdown ul li, get rid of the margins on div.dropdown ul li ul and set it’s top:25px, left:-1px;, width:100%; finally, set div.dropdown ul li ul li to margin:0; delete the left-right padding, and set width:100% …

    I might have missed something, but here’s a working example: http://jsfiddle.net/hjDVS/7/

    I think your real problem was the absolutely positioned ul

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

NOTE: I know that this has been asked many times before, but none of
I know that this question has been asked loads of times, but I have
Hey all, I know this question has been asked a million times before but
I know that this has been asked many times before, but I believe my
I know this has been asked a couple of times before but I've tried
I know that this question have been asked several times. But I can't get
I'm sure that this has been asked before, but I don't know what to
I know this has probably been asked a million times, but how do I
I know that this question has been asked many times before in different guises
I know that this question has been asked over and over again, but nothing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.