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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:43:04+00:00 2026-05-23T15:43:04+00:00

I have a pop up which opens as all label type or editable type

  • 0

I have a pop up which opens as all label type or editable type based on the condition.
When I open the pop up as editable, the table is set to center and values are properly
aligned. When I open the same in non editable mode, the values are more moved to the left.

I have uploaded both to JSFiddle for analysis. Please help

Pop up with editable condition

http://jsfiddle.net/gr2022s/C9BZJ/

Pop up with non editable condition

http://jsfiddle.net/gr2022s/C9BZJ/1/

I had done a workaround by adding <blockquote> tag to one of the label but the problem seems to be
the label is moved towards right from the others.

  • 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-23T15:43:05+00:00Added an answer on May 23, 2026 at 3:43 pm

    The reason is quite simple :

    You never define any width for any <td>. So your <table> will scale each column according to the largest td content. And since your <input type="text /> is way larger than the simple text Ad Hoc, the editable table seems more centered…

    Try this to test it :

    <table border="1" width="300px">
        <tr>
            <td>content</td>
            <td>content</td>
        </tr>
    </table>
    <table border="1" width="300px">
        <tr>
            <td>a</td>
            <td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</td>
        </tr>
    </table>
    <table border="1" width="300px">
        <tr>
            <td>aaaaaaa</td>
            <td>aaa</td>
        </tr>
    </table>
    

    Or see your updated jsFiddle.

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

Sidebar

Related Questions

I have an aspx web page (opener) which opens a popup window In the
I have a pop-up CustomControl which I use in a large-scale web application. The
Dear Expert i have a aspx apge in which i want to open a
I'm trying to have text spans pop up on a hover pseudo-class for different
I have the following JavaScript code to pop up a window in Internet Explorer.
Our network admins have disabled IMAP and POP for our exchange server, but do
I have a little python script that pulls emails from a POP mail address
I have a thread push-backing to STL list and another thread pop-fronting from the
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I know this isn't strictly a programming question but y'all must have experienced this.

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.