Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can You Fixed The Column Size?

Status
Not open for further replies.

cptk

Technical User
Mar 18, 2003
305
US
Say I have a simple 2 Row x 4 Col table.

One <td> cell in a row has a "wide" string value, thus affecting the size of the column for all rows above and below. For the row that has this wide string value, I simply leave empty the other cells to the right and use the colspan on the <td> cell to extend the contents.

I was hoping that the "wide" string contents would extend into these other cells, thus allowing me to control the size of the offending column.

Can this be done without CSS? Is there a way to "fix" the column width or the width of each cell?
...thanks!!
 

Say I have a simple 2 Row x 4 Col table.

I have a simple 2 Row x 4 Col table.

(sorry, couldn't resist! ;o)

I simply leave empty the other cells to the right

Surely you would be removing the cells altogether if you were using colspan, rather than just leavig them empty? Otherwise you would have too many cells on that row.

Hope this helps,
Dan




[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top