homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Specify max width of a table cell
ktsirig

5+ Year Member



 
Msg#: 4004992 posted 11:15 pm on Oct 10, 2009 (gmt 0)

Hello all!
I wanted to ask if there is a way to specify certain width sizes for table cells in a table. The thing is that I have a table in one webpage that, if I leave the width of the TD cells unspecified, I usually end up with some cells being very wide because the text that is written inside them is very big and does not roll up automatically and other cells shrink and become very small in order for the total table not to lose its specified length.
Can I set a specific width for the cell that gets filled with many words so that the contents of this cell will wrap and not extend so much?
Thank you!

 

Staffa

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4004992 posted 8:16 am on Oct 11, 2009 (gmt 0)

<td width="50"> 50px wide

<td width="20%"> 20% of total table width

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved