"cpt" <cp****@yahoo.com> wrote:
You posted this same message twice yesterday to alt.html and got some
good answers.
I read that if one uses "table-layout:fixed"
then table rendering is speeded by setting row height.
Where did you read this?
All my rows are 285 px high.
Do they contain only images?
1) Is this true?
Possibly. The main speed advantage to table-layout: fixed; is that it
saves the browser the need to re-evaluate the column widths as content
in lower rows is downloaded. There might be some small advantage with
regards to height but it will be smaller than the advantage gained
from setting the widths.
If you fix both the widths and the heights of the cells then what will
happen when the content is larger? i.e. if a user uses a larger font
size than you anticipated? It's quite easy to build a fixed table like
this where the text is illegible because text from several cells all
overlaps.
2) If true, how does one set row-height for the table,
preferable with a CSS style?
As you've already been told: tr {height: 285px;}
Steve