By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,759 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

style="TABLE-LAYOUT:fixed;" ???

P: n/a
hello!
i found out something yesterday that's bothering me...first of all i've read
that if you put style stated in the subject inside the table tag and fix
width and height of each cell in the table it will render quicker...am i
right so far???
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"riki" <ri******@hotmail.com> wrote:
hello!
i found out something yesterday that's bothering me...first of all i've read
that if you put style stated in the subject inside the table tag and fix
width and height of each cell in the table it will render quicker...am i
right so far???


You said "first of all", but then you didn't go on to the second thing
that's bothering you.

Anyway, yes, that is supposed to be the whole purpose of the
table-layout: fixed; . So, (a) why were you skeptical, and (b) why
does it bother you?

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #2

P: n/a
:))) now question part 2.

supose that my table has width=500, height=100 and 5 indentical rows with
each ones height=20...ok.
that means that tblheight=20+20+20+20+20=100.
but if i use cellspacing="2" then it is
tblheight=2+20+2+20+2+20+2+20+2+20+2=112 and not anymore 100...
in this case style="TABLE-LAYOUT:fixed;" doesn't work any more...
could you please check this out and tell me if i'm right?
if i am should i put width=112 or what?
thank you
Jul 20 '05 #3

P: n/a
"riki" <ri******@hotmail.com> wrote:
:))) now question part 2.

supose that my table has width=500, height=100 and 5 indentical rows with
each ones height=20...ok.
that means that tblheight=20+20+20+20+20=100.
but if i use cellspacing="2" then it is
tblheight=2+20+2+20+2+20+2+20+2+20+2=112 and not anymore 100...
in this case style="TABLE-LAYOUT:fixed;" doesn't work any more...
could you please check this out and tell me if i'm right?
if i am should i put width=112 or what?
thank you


Right, by using "fixed" you are guaranteeing that you've already done
the thinking so that the rendering software doesn't have to. If you
then go and use invalid combinations of numbers, you'll have a mess.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.