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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:57:06+00:00 2026-05-20T16:57:06+00:00

I have a pair of nested tables which seem to work fine in Firefox,

  • 0

I have a pair of nested tables which seem to work fine in Firefox, but in IE, Chrome and Safari, the display is all messed up.

Basically, the outer table is defined as having width=100%, and then each row in that table contains another table, which also has width=100%. Each inner table also contains one row, with the widths of all but one cell being defined as x number of pixels, and the last cell being defined without a width (so that it should fill the balance.

In Firefox this works exactly as I expect – the cell with the unspecified width occupies the remainder of the row. However, in IE, Safari and Chrome, the cell without a width seems to get a 0px width, and the other cells in the table split the remainder of the space.

The code can be seen over here (JSFiddle).

  • 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-20T16:57:07+00:00Added an answer on May 20, 2026 at 4:57 pm

    Take these three steps on each of the cells do not have a width set:

    • Add a non-breaking space. ( )
    • Set line-height:0;
    • Set font-size:0;

    I went through your fiddle and did this on the third cell in each row, except for the one with the actual content in it, and it rendered correctly.

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

Sidebar

Related Questions

I have a pair of Spinners that work exactly as intended, but when I
I have a pair of models which I want to reference one another, but
I have a program which outputs a pair of words surrounded by spaces on
I have vector< pair<int, int>> myVec (N); I want to have all pairs initialized
I have a std::vector with the element as pair and need to find all
I have a pair of loops over a nested array object in scala def
I have a pair of tables in an Oracle database with a one-to-one parent-child
I have a pair of computers running arch linux with rabbitmq message queues and
I have a pair of static fields with a complicated one-time initialization. I want
If I have a pair of dates, and I want to generate a list

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.