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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:53:20+00:00 2026-06-13T12:53:20+00:00

I have a html page with a <table> set 100% X 100% http://oxide.co.il/test/table1.htm .

  • 0

I have a html page with a <table> set 100% X 100% http://oxide.co.il/test/table1.htm. I’m using it because I need the page to be in full screen and fit all types of screens, also the page shouldn’t have scroll.

I want the table to stay exactly like it is (50% left size, 50% right side and 10% bottom) but when I’m adding content into the table, the table readjust its size, and it’s bad for me.

For example when I’m adding a big image it’s look like this: http://oxide.co.il/test/table2.htm (Right side is smaller and bottom is gone)

I wish the image will fit into the <td>‘s original size. When I added style="width:100%;" for the image, it still breaks the table: http://oxide.co.il/test/table3.htm (Bottom area isn’t showing)

When I have a big <div> inside the <td>, it will also break the table:
http://oxide.co.il/test/table4.htm (I know the <div> is in px, I can’t change it to percentages)

How can I make the content fit into the table without it readjusting the size?

Thanks!

  • 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-06-13T12:53:21+00:00Added an answer on June 13, 2026 at 12:53 pm

    Tables aren’t meant for layouts. As it was stated in the comments on your question, it becomes a lot more simple if you just use div’s. The following code does what you want, without tables:

    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta content="text/html; charset=utf-8" http-equiv="Content-Type" >
            <style>
                html, body{
                    margin: 0;
                }
    
                .container {
                    bottom: 0;
                    left: 0;
                    position: absolute;
                    right: 0;
                    top: 0;
                }
    
                .span50 {
                    width: 50%;
                }
    
                .span100 {
                    width: 100%;
                }
    
                .sheer90 {
                    height: 90%;
                }
    
                .sheer10 {
                    height: 10%;
                }
    
                .span50, .span100,
                .sheer90, .sheer10 {
                    overflow: hidden;
                }
            </style>
        </head>
        <body>
            <div class="container">
                <div class="span100 sheer90">
                    <div class="span50">
                        <img src="http://placehold.it/1200x1200" width="1200px" height="1200px" alt="" />
                    </div>
                    <div class="span50"></div>
                </div>
                <div class="span100 sheer10">
                    Test
                </div>
            </div>
        </body>
    </html>​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Blueprint CSS grid for my HTML page. I have a table
I have a html page which consist of a table & I want to
I have an html table rendered page and I want to save it as
In my html page, I have one table, for every row there are two
I have an HTML table in my jsp page. This conains text fields and
My problem is I have one html table in jsp page .And i applied
I have a simple HTML Table (10 columns x 500 rows). When the page
I have an ASP.NET page and I am generating an HTML table in my
I have a table I am using as a toolbar on a web page.
I have a frame-set and each frame has a table with width:100% . In

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.