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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:34:10+00:00 2026-05-27T13:34:10+00:00

I have looked through other similar entries, and not found a solution. I have

  • 0

I have looked through other similar entries, and not found a solution.

I have an asp checkbox, generated by code behind. The html it generates is:

<span class="covered">
    <label for="">Multi</label>
    <input type="checkbox">
</span>

This is contained within a table cell:

<td>
    <input class="cniid" type="hidden" value="3375" name="">
    <input class="accid" type="hidden" value="759880" name="">
    <span class="covered">
        <label for="">Multi</label>
        <input type="checkbox">
    </span>
</td>

In Firefox this works fine:

Firefox version

However in IE, it is misaligned:

IE version

How can I fix this, and make the IE version work like the FF version?

I didn’t include css because there is none relevant – the styling around the td is as follows:

.displaytable {font-size: smaller;}
body {color: #7B0343;font-family: "Tahoma","Lucida Grande","Segoe UI",Arial,Helvetica,Verdana,sans-serif;font-size: 14px;font-weight: bold;}

The classes are more used for js code than styling in this case.

Added js fiddle which shows this. I will continue working on the fiddle to reduce this code to the point where it still produces the problem. So there is more than this, but I have attempted to include just what I need to.

  • 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-27T13:34:11+00:00Added an answer on May 27, 2026 at 1:34 pm

    ** Update after Question Edit **
    Looking at the fiddle I can reproduce this problem only on IE7 and lower. There are several issues with IE7 and display CSS, see for example this SO question.

    That answer actually seems to apply to your code as well. I’ve forked your fiddle and updated the CSS such that it works in IE7 too. This is the jsfiddle. In short, I’ve replaced all your CSS with:

    .covered input {
        float: right;
        display: inline-block; 
        zoom: 1;
        *display: inline; 
    }
    .covered label {  float: left; }
    

    Original answer:

    I have pasted your code in this jsfiddle, which looks the same in IE9 and FF for me. Some things that could be the problem:

    • IE is caching something (css perhaps), hit ctrl+f5 or use F12 to set it to always refresh
    • You’re using a different IE version that’s showing this behavior (what modes do you have if you hit F12)
    • CSS (most likely source I’d guess)

    If it is indeed CSS try:

    • playing around with the display property of span/label/input as well as the width of those elements
    • hitting F12 in IE, selecting the elements in the TD, and inspect the styles on them to see what’s happening
    • stripping it from your site one piece at the time until you found the responsible code
    • setting something like span { border: 1px solid fuchsia; }, and dito for inputs, labels, etc

    If all those things don’t help, try to make a jsfiddle that shows this problem and link it in your question.

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

Sidebar

Related Questions

I've looked through similar questions but not found the exact working solution I'm after.
I have looked through the solutions and haven't really found one. I am getting
I seem to have looked through many solution on here and the web and
I've looked through several posts but I haven't quite found any answers that have
i know, similar questions have been asked, and i've already looked through everything i
I have looked through the solutions on stackoverflow and none of them seem to
I have looked through several sites for any useful documentation and have come up
I've downloaded the Windows Media Center SDK and have looked through the documentation, but
Ok.. I have looked through this site and just can't seem to find the
Composer is a PHP package manager. I have looked through the documentation here: http://getcomposer.org/

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.