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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:19:35+00:00 2026-06-13T20:19:35+00:00

I have what seems to be a noob question but I cannot figure this

  • 0

I have what seems to be a noob question but I cannot figure this out for the light of me. I really need another set of eyes to help me see why is the li tags not rendering the width in IE8.

While other browsers like chrome and firefox render the style just fine, IE8 refuses to cooperate and refuses to set the width of each li to 108px.

Here is the HTML:

<div id="navigation">
<ul>
    <li><a href="">HOME</a></li>
    <li><a href="">SERVICES</a></li>
    <li class="current_tab"><a href="">COMPANY</a></li>
    <li><a href="">EMPLOYEE</a></li>
    <li><a href="">WORK TOOLS</a></li>
    <li><a href="">CONTACT</a></li>
</ul>

And here is the CSS for that nav as well as parent tags:

body, html {
    overflow: auto;
    position: relative;
}

h3 {
    margin-bottom: 10px;
}

#employee_dir {
    margin-bottom: 20px;
}

#lotus {
    padding-top: 20px;
}

#content {
    margin-top: 10px;
}

#navigation li{
    background-color: transparent;
    background: url('../img/off-tab.png') no-repeat;
    padding-top: 0px !important;
    width: 108px !important;
    padding: 0px;
}

.current_tab {
    background-color: transparent;
    background: url('../img/on-tab.png') no-repeat !important;
    width: 108px;
    height: 33px !important;
}

#navigation a {
    text-align: center;
}

I am also attaching some screenshots I took of what I see on my end.

This is IE8 showing the css using the dev tools built in the browser
However, this is what it renders for the li tag
This is how the nav renders in IE8
However this is how it renders in chrome

  • 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-13T20:19:36+00:00Added an answer on June 13, 2026 at 8:19 pm

    Don’t use !important declaration, instead try making <li> as inline-block

    #navigation li{
        background-color: transparent;
        background: url('../img/off-tab.png') no-repeat;
        padding-top: 0px !important;   <------ Why padding here?
        width: 108px;
        padding: 0px;   <-------Your padding-top gets re-setted here
        display: inline-block;  <------- Here
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this (noob?) question, but i just can't figure it out for many
I feel noob asking this question but it seems that I cant find the
This is a painfully noob question, but I have to ask it. I want
I apologize if this is a noob question, but I can't seem to figure
This will probably seem like a noob question but I have managed to intall
This kind of seems like a noob question, but I could not find an
This seems to have been asked before: rails decimal precision and scale But when
I have a noob question but rather a troublesome one for me. I am
OK, total noob question, for msysgit on Windows 7, but I have a remote
another noob question regarding F#. If I have the following code... let ExeC =

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.