We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

mifly on 03/04/08


Tagged

css


Versions (?)


Who likes this?

8 people have marked this snippet as a favorite

SpinZ
basicmagic
jamesbazemorenwacom
revmitcz
gAmUssA
gaspiman
eriksagen
asturi


prevent HTML tables from becoming too wide


Published in: CSS 


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

  1. table {
  2. table-layout:fixed;
  3. width:100%;
  4. overflow:hidden;
  5. border:1px solid #f00;
  6. word-wrap:break-word;
  7. }

Report this snippet 

You need to login to post a comment.