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 8160977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:23:55+00:00 2026-06-06T18:23:55+00:00

I have an unordered list whose list items are displaying inline. However, its layout

  • 0

I have an unordered list whose list items are displaying inline. However, its layout is rather complicated, so let me show you the Fiddle:

  • Fullscreen: http://jsfiddle.net/spryno724/F5CFD/embedded/result/
  • Code: http://jsfiddle.net/spryno724/F5CFD/

Notice how the unordered list items stretch to the height of the tallest list item, using the display: table-cell property (except for the first list item). This allows the first list item to have a vertical line extend the entire height of the unordered list, with the letter “A” vertically aligned to the top.

This presentation works excellent in most browsers, with the notable exception of Internet Explorer 8[1], of course. Here are some screenshots, in case you don’t have IE8:

  • Excellent rendering in Chrome: https://picasaweb.google.com/lh/photo/oI6rWHT8iS_0nKVQRb1o_hV2JJooBc4dMF1MOKsl3b4?feat=directlink
  • IE8 rendering the same page, with the IE developer tools highlighting the erratic width of the third list item: https://picasaweb.google.com/lh/photo/_n-WvfHYgUrPJ6jTdk24KxV2JJooBc4dMF1MOKsl3b4?feat=directlink

Any ideas what I can do to keep the same look as you see in Chrome (or any other browser other than IE1-IE8)?

Thank you for your time.

[1] What have we ever done to you IE8 that you hate us so???

  • 1 1 Answer
  • 0 Views
  • 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-06-06T18:23:56+00:00Added an answer on June 6, 2026 at 6:23 pm

    Unfortunately, IE doesn’t render the table-cell property, so you have to resort to various hacks. Fortunately, this one works pretty well.

    ul li {
        display: inline-block;
        *display:inline;
        zoom: 1;
        height: 100%;
        max-width: 130px;
        min-width: 130px;
        padding: 0px 0px 0px 15px;
        vertical-align: bottom;
    }
    

    This will allow the elements to align in an inline-block fashion in IE, giving you cross-browser inline elements.

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

Sidebar

Related Questions

I have an (unordered)list (generated by a repeater) of items. However, I'd like to
I have an unordered list whose list items are going to be populated by
I have a unordered list <ul id=images > . There are 3 list items
I have an unordered list which contains several items called 'oListItems' the UL has
I have an unordered list with five list items, each with a link inside
I have an unordered list with five list items, each with a link inside
I have an unordered list with list items. I have a class called 'active',
I have an unordered list with no list items. I get some information from
I have an unordered list of items, I want to display each item as
I have an unordered list, with a couple list-items inside. Inside each of those

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.