Connecting Tech Pros Worldwide Help | Site Map

how to add additonal white spaces

Newbie
 
Join Date: Oct 2008
Posts: 1
#1: Oct 2 '08
i am having having a table with verticle-align="top" and some text eg model name , inside <td>. i am having five this is type of <td> within single <tr>. now in one <td> the model name is longer than other <td>'s model name.<td> with shorter Model name should be allowed to expand . Additional whitespace should be added below the model name for short names to expand that <td>.
Member
 
Join Date: Sep 2008
Posts: 40
#2: Oct 5 '08

re: how to add additonal white spaces


Are you trying to get all 5 columns to be the same width? If so, try <td width='20%'> for all <td>'s. That will make them all the same width. You could also do something like width="200" to specify exact pixel width.
Reply