473,480 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
3 4654
"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
:))) 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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
3433
by: Greg G | last post by:
http://risky-biz.com/new/risky.html I finally got DSL service recently, but I haven't forgotten the agony of waiting for the 64th image to load before I can see ANYTHING on a page. So I will...
18
9245
by: Mr.Clean | last post by:
I have a table and would like to make it scroll if more rows are in the table than are visible in the height. How would I do that? overflow: scroll; doesn't work in IE or mozilla on this table.
10
2984
by: Mel | last post by:
i need to create a unix like "tail" function on my site. the question: the text is displayed in a scrolled area and a new line is added at the end and the entire text is scrolled down so that...
11
24050
by: Matt Kruse | last post by:
This is a common requirement - "freeze panes" in a table, so that some header rows and some columns on the left are frozen while the body content scrolls. This makes large tables more usable on...
3
2134
by: Lada 'Ray' Lostak | last post by:
Hi ! We are moving to PgSql application, with 'typical' style of work. Thin client, huge database. From database is (also) generated whole website. I will use it for explain my current todo....
81
7215
by: Matt | last post by:
I have 2 questions: 1. strlen returns an unsigned (size_t) quantity. Why is an unsigned value more approprate than a signed value? Why is unsighned value less appropriate? 2. Would there...
7
3044
by: Janis | last post by:
I try to understand what could be the source of a problem with displaying and hiding rows of tables using display:block/none. I've read selfhtml but could not find any hint about that. Any...
3
2985
by: rsrimantula | last post by:
I have a table with html code <style> div.scroll { height:150px; overflow:auto; } table.scrollable th { position:relative;
1
5079
by: vunet.us | last post by:
Mozilla reported the fix to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=167801. When input text field is located over div, the cursor cannot be seen unless special CSS properties are...
36
5051
by: Roedy Green | last post by:
The only browser I have encountered that supports <colgroup><col class="behold"></colgroup> to apply a CSS style to a whole column, is Microsoft Internet Explorer. I have been told it SHOULD NOT...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7034
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.