HighDots Forums  

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

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss style="TABLE-LAYOUT:fixed;" ??? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
riki
 
Posts: n/a

Default style="TABLE-LAYOUT:fixed;" ??? - 02-05-2004 , 03:25 AM






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???



Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: style="TABLE-LAYOUT:fixed;" ??? - 02-05-2004 , 08:05 AM






"riki" <riki_fox (AT) hotmail (DOT) com> wrote:

Quote:
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.


Reply With Quote
  #3  
Old   
riki
 
Posts: n/a

Default Re: style="TABLE-LAYOUT:fixed;" ??? - 02-05-2004 , 11:16 AM



)) 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



Reply With Quote
  #4  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: style="TABLE-LAYOUT:fixed;" ??? - 02-10-2004 , 10:20 PM



"riki" <riki_fox (AT) hotmail (DOT) com> wrote:

Quote:
)) 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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.