![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
can somebody check my old post please and tell me if i'm right so i can change width and height of the table. the subject was SUBJECT:style="TABLE-LAYOUT:fixed;" ??? on 05.02.2004. |
#3
| |||
| |||
|
|
hello, can somebody check my old post please and tell me if i'm right so i can change width and height of the table. the subject was SUBJECT:style="TABLE-LAYOUT:fixed;" ??? on 05.02.2004. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
sorry, didn't know about the link... i was wondering if the width and height of the table increases when i put cellspacing=x... i.e. first i fix height=100 and then cellspacing=2... what's my table height in the end if i have 5 rows??? is it 20+20+20+20+20=100px or is it 2+20+2+20+2+20+2+20+2+20+2=112px |
#6
| |||
| |||
|
|
"riki" <riki_fox (AT) hotmail (DOT) com> wrote: sorry, didn't know about the link... i was wondering if the width and height of the table increases when i put cellspacing=x... i.e. first i fix height=100 and then cellspacing=2... what's my table height in the end if i have 5 rows??? is it 20+20+20+20+20=100px or is it 2+20+2+20+2+20+2+20+2+20+2=112px Neither. It's 2 + R1 + 2 + R2 + 2 + R3 + 2 + R4 + 2 + R5 + 2 = 100 Where R1 - R6 may or may not be the same depending on the content of those cells. (Always assuming that the contents fit within the specified height.) Steve -- "My theories appal you, my heresies outrage you, I never answer letters and you don't like my tie." - The Doctor Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/ |
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
copy paste this source...you could see that 2'nd table has greater height than 1'st and both have height="120"... |
|
table width="300" height="120" cellspacing="2" bgcolor="gray" tr td width="100" height="40" bgcolor="#c0c0c0">x</td |
|
table width="300" height="120" cellspacing="15" bgcolor="gray" tr td width="100" height="40" bgcolor="#c0c0c0">x</td |
#10
| |||
| |||
|
|
but |
|
i've tried increasing cellspacing of one table while other table remained as it were...then i noticed that first table increased height for this cellspacing, even height of both tables were fixed to same value... try fixing width or height of two tables, and then to first one put cellspacing=2 and to other one cellspacing=10... you'll see that height and width wan't be the same even dimensions are fixed to same value... |
![]() |
| Thread Tools | |
| Display Modes | |
| |