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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:34:01+00:00 2026-05-16T05:34:01+00:00

I have a development server and a production server to host my website. I

  • 0

I have a development server and a production server to host my website. I am seeing differences in how the html is rendered on these servers but only in Internet Explorer.

I am rendering a list of tags. Here is the markup.

<div class="tag">
    <ul>
        <li><a href="#">tag1</a></li>
        <li><a href="#">tag2</a></li>
        <li><a href="#">tag3</a></li>
    </ul>
</div>

Here is the css.

.tag
{

}

.tag ul
{
    margin-top: 5px;
    padding-left: 5px;
}

.tag li
{
    display:block;
    float:left;
    margin: 1px 1px 1px 0px;
}

.tag a
{
    color: white;
    font-weight: bold;
    text-decoration: none;
}

Scenarios:

  1. When I view this page in IE8 on any machine that is not the server, the tag div is adding about a 50px left margin or padding.

  2. When I view this page in IE8 physically on the Windows Server 2008 machine, the tag div properly shows margin and padding

  3. When I view this page in IE8 on my local development server, the tag div properly shows margin and padding.

  4. Viewing this page in Google Chrome and Firefox hosted on both my development server and production server, the tag div properly shows margin and padding.

This tells me I have a very specific case that the margin/padding gets added. I do not seem to have any Javascript errors on the page and I even had my page validated through W3C to check for markup problems.

Using the IE development tools, the only difference I can see between div elements in the case where it works and where it does not work is the div looks like below when it does not work:

<div class="tag" sizcache="0" sizset="2">

The difference being the sizcache and sizset attributes. I tried taking the two attributes off in the developer tools but it did not change the end result. They could be there because I do some jQuery styling of tags:

$('.tag ul').buttonset();

Taking this jquery code out does not change the end result. Using the development tools I have even taken off all styling (even the body inherited styling) but I still get the margin/padding.

  • 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-16T05:34:01+00:00Added an answer on May 16, 2026 at 5:34 am

    In IE8, UL’s are defaulted with left margins, to indent them. To remove it, add the following to your .tag ul:

    margin-left: 0px;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database table on a development server that is now fully populated
I have a app that I'm deploying to a development server using Capistrano. I'd
I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer
I want to make a development server for Ruby. (I have done this for
I have a development vm which is running sql server as well as some
I have somewhat interesting development situation. The client and deployment server are inside a
I have found many tutorials about using Windows Server 2003 as a development machine,
I have two SQL Server 2005 databases, one is for development and the other
I have my development database, I want to spin off a duplicate for testing.
Most python frameworks will have a development webserver of some kind that will have

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.