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

  • Home
  • SEARCH
  • 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 125143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:06:44+00:00 2026-05-11T05:06:44+00:00

I want two tables to have the same height. If the left table contain

  • 0

I want two tables to have the same height. If the left table contain longer text than the right table I want it to be as long as the left table.

This is how it looks now:

enter image description here

I can’t set the height because that would limit how much text you can write…

This is how I want it:

enter image description here

Code:

<table cellspacing='0' width='30%' align='left' class='rowA'> <tr>     <td>     Sed ut perspiciatis unde omnis iste natus error sit voluptatem      accusantium doloremque laudantium, totam rem aperiam, eaque ipsa      quae ab illo inventore veritatis et quasi architecto beatae vitae dicta      sunt explicabo. 'Sed ut perspiciatis unde omnis iste natus error sit      voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque      ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae      dicta sunt explicabo.      </td> </tr> </table>  <table cellspacing='0' width='70%' align='right' class='rowB'> <tr>     <td>     Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do      eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut      enim ad minim veniam, quis nostrud exercitation ullamco laboris      nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor      in reprehenderit in voluptate velit esse cillum dolore eu fugiat     nulla pariatur. Excepteur sint occaecat cupidatat non proident,      sunt in culpa qui officia deserunt mollit anim id est laborum.     </td> </tr> </table> 
  • 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. 2026-05-11T05:06:44+00:00Added an answer on May 11, 2026 at 5:06 am

    Can you use two side-by-side cells instead?

    <table>   <tr>     <td style='width: 30%'>Left Column</td>     <td style='width: 70%'>Right Column</td>   </tr> </table> 

    Edit – Just for completeness… if there is a technical reason someone HAS to use two separate containers such as divs or tables but you need them to be the same height, there is a small jQuery script that does just that which degrades nicely. It determines the tallest container then sets the other’s min-height attribute to match.

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

Sidebar

Related Questions

Hi I want to have two tables each have an INT id column which
Say I have two tables I want to join. Categories: id name ---------- 1
I have two tables containing Tasks and Notes, and want to retrieve a list
I have two tables, movies and categories , and I want to get an
I have a dataset that has two tables in it. I want to do
I have two grids with same number of rows ( also same height). Both
I have two tables both have same schema, one will have previous day records
Suppose I have two tables, Customer and Vendor. I want to have a common
I have two tables, that share the same definition. I commonly insert new objects
I want to update two columns in a table. The value of the second

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.