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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:48:59+00:00 2026-05-26T03:48:59+00:00

Within an html file I have a menu set up as: <div id=informheader class=topmenu>

  • 0

Within an html file I have a menu set up as:

    <div id="informheader" class="topmenu">
<ul id="navigationMenu">
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Reporting</a></li>
                    <li><a href="#">Dashboard</a></li>
                    <li><a href="#">My Profile</a></li>
                    <li><a href="#">Management Console</a></li>    
            </ul>
</div>

Within the CSS

    .topmenu ul a
{
    line-height:36px;
    text-decoration: none;
    color: #ffffff;
    display:inline-block;
    padding: 0px 5px 0px 5px;
    background-position: 100%;
}

.topmenu li a:hover
{
    background-image: url('../images/gradientheaderdark.png');
    height: 36px;
    display: inline-block;
    text-decoration: none;
    background-repeat: repeat-x;
    margin-top:-5px;
    line-height:36px;
}

.topmenu
{
    position: relative;
    display: block;
    width: 80%;
    height: 36px;
    margin: 5px auto;
    text-align: left;
    z-index: 9998;
    -khtml-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -khtml-box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    -ms-box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    -o-box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    -moz-box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    box-shadow: rgba(0,0,0,0.3) 0 1px 2px;
    background-image: url('../images/gradientheader.png');
    background-repeat: repeat-x;
}

.topmenu ul
{
    display:inline-block;
    list-style-type: none;
    padding: 0;
    margin: auto 0;
}

.topmenu li
{
    display: inline-block;
    list-style:none;
    padding: 0px 5px 0px 5px;
}

The result renders the bullet-ed list horizontally in IE fine. However in Firefox the list stays vertical. Can anyone point me in the correct direction as to what tag I am missing to get Firefox to also render this UL list horizontally in Firefox (as well as safari)?
Switching the display to block vs inline-block flips the issue for IE.

  • 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-05-26T03:49:00+00:00Added an answer on May 26, 2026 at 3:49 am

    Add float: left; to .topmenu li

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

Sidebar

Related Questions

Within my HTML, I have a php script that includes a file. At that
I am searching for the string <!--m--><li class=g w0><h3 class=r><a href= within the HTML
I have a HTML file that is linked to a Java class using the
I have a .php file, and a .html file. Within a button click, I
I have a JavaScript function within an html file: <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML
I have PHP variables to place within an included HTML file. What's the best
If I create a simple .html file with a table inside it. Within one
I have a textarea within an HTML page into which my users paste content.
Let's say I have a large HTML file with different kinds of tags, similar
I have the following structure UIViewController1 --> UIWebView I run a local HTML File

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.