helen6391 — 2012-05-08T07:06:11-04:00 — #1
I decided to use table for the structure for my web pages until I understand more about css style. I know the width for all browser size is 100% well I hope it is but what is the best height to suit all browsers.
xhtmlcoder — 2012-05-08T07:51:25-04:00 — #2
The TABLE element height is as long as a piece of string; since they don't have heights, it should be determined by it's 'table data cell' contents, etc. Theoretically it would be 100% if you were trying to make it fill the browser window but this is really the realm of a little CSS.
stevie_d — 2012-05-08T08:14:22-04:00 — #3
The usual plan is not to have a height set, but to allow the design to stretch as far as it needs to vertically in order to contain the contents. That way, it doesn't matter if you have more text on one page, or if someone has a bigger font size set on their browser. If you try to constrain the height, you're in danger of making a page that breaks badly as soon as it leaves your computer.
If you absolutely have to use layout tables (and I really don't recommend it, they've been outdated for 10 years), you could set a min-height:100% if you want to ensure that the design does fill the screen instead of stopping half-way down if it's only got a small amount of content.
helen6391 — 2012-05-08T12:52:11-04:00 — #4
Steve D I like the idea of having height 100% it's a small website. I prefer to use tables for the moment because I am new with website design and feel table give me the control I need. I have no idea how to do .css style it's too advance for me so starting from scratch then I can work my way to the top. I am learning .css at the moment everything seems complicated but I know one day I will be able to codes in that style easier.
system — 2012-05-17T01:03:54-04:00 — #5
Realistically, the height of the table should not matter. Everyone scrolls vertically on their browsers. You should limit the width though as no one wants to scroll side ways (horizontally).
helen6391 — 2012-05-17T13:14:13-04:00 — #6
Thank you for your advice appreciate it.