472,958 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Setting Row heights

cpt
I read that if one uses "table-layout:fixed"
then table rendering is speeded by setting row height. All my rows
are 285 px high.
1) Is this true?
2) If true, how does one set row-height for the table,
preferable with a CSS style?
Thanks, CMA

Jul 23 '05 #1
3 4354
"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

Jul 23 '05 #2
cpt
Hi Steve:
Thanks for the info. So I have to set the height for each {tr}?
Not worth it, and I have not already been told.

Jul 23 '05 #3
"cpt" <cp****@yahoo.com> wrote:
Hi Steve:
Thanks for the info.
What info? Please include some quoted material in your replies, so
that people have some idea what you're replying to.
So I have to set the height for each {tr}?
No, the code I gave you will set the height for every tr on the page.
Not worth it, and I have not already been told.


Toby Inkster told you -
http://groups-beta.google.com/group/...f5b75e62be57c1

Steve

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tyler Carver | last post by:
I am trying to create a table that 100% of the viewport with three rows. The top and bottom rows have a fixed height and the center row I want to take up the rest of the space. This work fine in...
9
by: Shank | last post by:
I need to setup a printable query results page. So far I've been using trial and error settings in CSS. I'm sure there's a better way. How can I do things like 1/2" margins all around and my table...
1
by: Tyler Carver | last post by:
I am trying to create a table that is 100% of the viewport with three rows. The top and bottom rows have a fixed height and the center row I want to take up the rest of the space. This work fine...
9
by: netclectic | last post by:
I'm dynamically adding options to a select list in javascript and i need to be able to set the height of the option, but setting style.height has not effect, I also tried style.pixelHeight but no...
12
by: Andy Jeffries | last post by:
Hi all, I want to write a function that given two elements will make their heights equal to the larger element. I've had a go at it and it works, but it makes both their heights larger than...
7
by: lauren quantrell | last post by:
A while back I got a requirement for the client to be able to adjust the relative heights of two subforms by click-dragging the mouse and I came up with a kludge solution using a border control...
2
by: Mikkel Faarup | last post by:
Hi All I am are experiencing difficulties setting Windows.Form heights above around 1000px on screens with the resolution set to 1024x768. The form is simply cut off and a scrollbar is set. The...
1
by: tshad | last post by:
Why are the text box heights of the input/file type textbox for uploading files a smaller height than a normal textbox? They have the exact same font and the same size font. But the heights...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.