![]() |
Table problems..
I seem to have no control over the way my table cells are sizing!
Take this table for example PHP Code:
<table border="1" width="200" table height="100"> <tr> <td width="100" height="100" rowspan="2">100 wide, 100 high</td> <td width="100" height="30">100 wide, coded for 30 high</td> </tr> <tr> <td width="100" height="70">100 wide, coded for 70 high</td> </tr> </table> wTF? Why do the two right cells split evenly, rather than the heights i have specified? Am i doing something wrong? |
add a percent sign so like 100 to 100% etc I think thats what your looking for
|
i'll give it a go..
<table border="1" width="200" table height="100"> <tr> <td width="100" height="100" rowspan="2">100 wide, 100 high</td> <td width="100" height="30%">30%</td> </tr> <tr> <td width="100" height="70%">70%</td> </tr> </table |
BAH! fucks me :(
|
The large text stretches the table to make itself fit. And since you had the same amount of large text in the top as in the bottom it went to 50-50.
You can either remove the text or minimize the text as shown below. Code:
<table border="1" width="200" table height="100">PHP Code:
Code:
<table border="1" width="200" table height="100">PHP Code:
|
D'oh. Thanks
|
| All times are GMT -7. The time now is 09:04 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123