Posted By

mifly on 03/04/08


Tagged

css


Versions (?)

Who likes this?

14 people have marked this snippet as a favorite

SpinZ
basicmagic
jamesbazemorenwacom
revmitcz
gAmUssA
gaspiman
eriksagen
asturi
sultano
dhavalpatel
timmiedinnie
jillella
phongjalvn
ringo380


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.