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

  • Home
  • SEARCH
  • 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 8974229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:38:01+00:00 2026-06-15T18:38:01+00:00

I have a horizontal list which is fine. The image is shown below. The

  • 0

I have a horizontal list which is fine.
The image is shown below.enter image description here
The list right under the header is the list im talking about. What I want to achieve is basically you see each links wording is all in one line, e.g. “Mash’s Famous Wings”
Well what im trying to do is create a fixed height and width (same for all) for all the li elements in the list. So this means that some of the words will go down into a new line.

See Smokey Bones Menu Sub Navigationas an example.

This is my CSS so far:

#menunavigation{
position:fixed;
top:100px;
left:50px;
z-index:1; 
color:white; 
}

#menunavigation a {
color:white; 
}


#menunavigation ul{
list-style-type:none;
height:50px;
}

#menunavigation ul li{
display:inline;
max-width:15px;
margin-right:5px; 
}
  • 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-15T18:38:03+00:00Added an answer on June 15, 2026 at 6:38 pm

    Try updating your css code with this snippet.

    #menunavigation ul li
    {
      display:inline-block;
      max-width:15px;
      margin-right:5px; 
    }
    

    however, display:inline-block will not work in IE-7, you need to include these extra lines, kind of hack which will work only in IE-7.

    *display:inline;
    *zoom:1;
    

    or else if you are supporting IE-7 full time, you can detect it using contional comments.

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

Sidebar

Related Questions

I have a horizontal list menu, on which I want to use pseudo selectors:
I have a List which has information about images I want to display. Each
I have a horizontal list on which I have placed borders on the li
I have a horizontal list (for a nav bar) and i want an individual
I have a horizontal unordered list I want to center horizontally in a div
i have an unordered list of horizontal/vertical segments of length 1, which build one
I have an unordered list which displays fine in most browsers except for ie6+7.
I have a horizontal list which I'm using as a paging control. I have
I have horizontal list for which I'm implementing my own scrolling logic. I have
I have a list view which is shown on a fragment. I have a

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.