471,618 Members | 1,062 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Nested Tables with 100% Height

7
Hi Everyone,

I have finally taken the step to bring a site to the 21st century with HTML 4.01 with the height tag having been deprecated.

I have read numerous articles claiming that the CSS height will do the trick, however, it works only with the first table in the body each with a height of 100%.

My issue is that the other nested tables for layout and images take on the height of the body table at time of render but do not dynamically resize with the browser or when the succeeding content of the browser grows.

My live example of this is as follows:

http://www.scatterlingsclub.com (using Firefox or another Mozilla)

I have even had to revert back to HTML 3.2 DTD
- Works in IE with the deprecated height tag but the CSS height is the issue in Mozilla.

Any help would be appreciated. At a push I'll probably need to set the CSS height via Javascript once the last layout element is rendered but this will get messy.

Thanks in advance...

Cheers,
Riaan
Oct 8 '07 #1
6 2551
drhowarddrfine
7,435 Expert 4TB
I have even had to revert back to HTML 3.2 DTD
You could revert back to chisel and stone and that will do you as much good. The doctype is not something to change on a whim. It's the very first thing you put on a page and never change it. And that doctype should be 4.01 strict. There is no need for any other except 'frameset' which, now that I see you used frames, is what you should use.

Your main page has 83 html errors and 10 CSS errors, not including the errors on the frames. Until all that is fixed, there's not much we can do to help.
Oct 8 '07 #2
R144N
7
You could revert back to chisel and stone and that will do you as much good. The doctype is not something to change on a whim. It's the very first thing you put on a page and never change it. And that doctype should be 4.01 strict. There is no need for any other except 'frameset' which, now that I see you used frames, is what you should use.

Your main page has 83 html errors and 10 CSS errors, not including the errors on the frames. Until all that is fixed, there's not much we can do to help.
Thanks for the help - The reason I haven't used the Frameset DTD is because it takes forever to load each page. Is this also because of the 30 odd errors in validation or is there something else that could be causing this.

Thanks again :-)
Oct 15 '07 #3
drhowarddrfine
7,435 Expert 4TB
I would never guess at what a site would do with 30 errors.
Oct 15 '07 #4
R144N
7
I would never guess at what a site would do with 30 errors.
Okay, done my best to validate using w3c - The few errors remaining is 3rd party posting html and I cannot see these affecting the site layout.

I've used HTML 4.01 Transitional because using Frameset doesn't allow the iframes to be dynamically resized to their contents.

Would you be able to assist me now?
Oct 15 '07 #5
drhowarddrfine
7,435 Expert 4TB
The next step you must learn to bring your page into the 21st century is never using tables for layout. I don't know that it is what is slowing your page down but it could be that in combination with your images and/or the server/host you are using.

It looks like you are using 'height' in your css properly. I'm not sure I understand the resizing issue you are having. But you have far too many things going on and tables, particularly nested tables, are difficult to follow. I just don't have the time to wade through all that.
Oct 15 '07 #6
R144N
7
The next step you must learn to bring your page into the 21st century is never using tables for layout. I don't know that it is what is slowing your page down but it could be that in combination with your images and/or the server/host you are using.

It looks like you are using 'height' in your css properly. I'm not sure I understand the resizing issue you are having. But you have far too many things going on and tables, particularly nested tables, are difficult to follow. I just don't have the time to wade through all that.
It was the Thawte certificate retrieval script slowing it down - their servers were obviously down at that specific point in time...Couldn't understand that a DTD could slow page rendering down LOL.

Thanks for all your help. I'll see if I can minimise the tables. Hopefully that will work...
Oct 15 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by boris bass | last post: by
9 posts views Thread by Dustin | last post: by
2 posts views Thread by astarocean | last post: by
4 posts views Thread by steve | last post: by
reply views Thread by Mahesh Devjibhai Dhola | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

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.