View Full Version : Table Lenghts

08-21-2006, 05:58 AM
Bit confused on table lengths, when watching the control table tutorial the table lengths are 100% and 1022 but when I try it mine are 100% but 894 any ideas why


08-21-2006, 06:26 AM
due to your monitor resolution.
think about it...... someone with a higher res monitor (greater space) will therefor require a bigger table height width.

ps - no such thing as table lengths ..... width or heights only yar!

08-21-2006, 08:23 AM
Thanks, now I understand

08-21-2006, 08:19 PM
Tables no longer should have specified heights. Heights don't validate.

Creative Insanity
08-21-2006, 08:41 PM
Umm dthomsen8, disagree.
I done this site (http://www.lisboa-x.com/) for a guy and the control table height is set to 100% and the alignment is set to center and middle and hence how I got the main table to display in the center of the screen.

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

<td align="center" valign="middle">

d a v e
08-21-2006, 08:55 PM
you can't disagree with the fact that table height isn't valid as it never has been.

of course if it 'works' then that's 'ok'.

the problem with 100% height can be that some browsers interpret it as 100% ov the viewport and others may see it as 100% of the page

Creative Insanity
08-22-2006, 10:28 AM
you can't disagree with the fact that table height isn't valid as it never has been.
Yes I bloody can, and did. :P

08-22-2006, 03:18 PM
The attribute 'height' for table tags does not exist, it's propietary HTML.

I just posted a link to an explanation of the problems arising when wanting to achieve "100% height" in another thread yesterday.

The unfortunate thing is that it's not simple to do the valid way with CSS, and using table height in HTML works well in some browsers, albeit it's 'made up' HTML. I guess using JS to get some height and width values would be the way to go, but JS is not the stronghold of most DW users, me included ;)