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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:20:25+00:00 2026-05-18T05:20:25+00:00

I have table within the div. If I view it with IE9 or FF

  • 0

I have table within the div. If I view it with IE9 or FF then it is ok. But if I view it within IE8 the table grows beyond the div border. Any ideas?

<div>
  <table width="100%" >
    <tr>
      <td>
      </td>
    </tr>
  </table>
</div>
  • 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-18T05:20:26+00:00Added an answer on May 18, 2026 at 5:20 am

    found the solution here:

    http://www.456bereastreet.com/archive/200704/how_to_prevent_html_tables_from_becoming_too_wide/

    The trick is to use the CSS property table-layout. It can take three
    values: auto, fixed, and inherit. The normal (initial) value is auto,
    which means that the table width is given by its columns and any
    borders. In other words, it expands if necessary.

    What you want to use is table-layout:fixed. Bam! Now the table is as
    wide as you have specified in the CSS. No more, no less. And to my
    great surprise this seems to be widely supported by browsers. The only
    browser of any significance that does not support it is IE/Mac, and
    the significance of that browser is rapidly approaching zero.

    Next is deciding what to do with the content that doesn’t fit in the
    table anymore. If the table only contains text, word-wrap:break-word
    (word-wrap is specified in the CSS3 Text Effects Module) will force
    the browser to break words as necessary to prevent overflow.

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

Sidebar

Related Questions

I have tried making every div 75px and the table within the div but
I have a table formatted html query to bind datas within a div actually.
I have my table view and the cells within it have the UILongPressGestureRecognizer added
I have a table within a div (see below). How do I add a
I have a div within which a table would lie. Now I want this
I have a table within a div with a set height, when the table
I have a fixed width DIV containing a table with many columns, and need
When I have a table with a width of 800px and an image within
I have a table within my database that has many records, some records share
I have a table called routes within my database where each route has an

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.