|
-
May 11th, 2001, 07:01 PM
#1
Thread Starter
Good Ol' Platypus
Table size based on browser size?
I have tables and they are set up like this:
<TABLE>
<TR>
<TD WIDTH=20%> </TD>
<TD WIDTH=60%> </TD>
<TD WIDTH=20%> </TD>
</TR>
</TABLE>
However, the middle frame only expands to fit what content is inside it, not how wide the browser is.
How can I make it so it is always the same size even if there is no content in it?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 12th, 2001, 09:19 AM
#2
PowerPoster
try this:
Code:
<TABLE width="100%">
<TR>
<TD WIDTH=20%> </TD>
<TD WIDTH=60%> </TD>
<TD WIDTH=20%> </TD>
</TR>
</TABLE>
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
May 12th, 2001, 09:43 AM
#3
Thread Starter
Good Ol' Platypus
It is better, but now the right 20% column has vanished, leaving 20% and 80% columns. But thats not how I coded it...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 12th, 2001, 09:50 AM
#4
Thread Starter
Good Ol' Platypus
Hmmm... for some reason it works now, ended up using no width tags in <TD> tags, and using this <TABLE> tag:
<TABLE Width=100% COLS=20%,60%,20% CELLPADDING=6px BORDER=0>
Oh well.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 12th, 2001, 10:17 AM
#5
PowerPoster
Originally posted by Sastraxi
It is better, but now the right 20% column has vanished, leaving 20% and 80% columns. But thats not how I coded it...
Thats strange because it works fine for me...
Oh well, at least you got it working
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
May 12th, 2001, 11:00 AM
#6
Thread Starter
Good Ol' Platypus
Actually I realised why all my other attempts weren't working;
I was using an ASP page and it was cached...
Thanks for your support!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 14th, 2001, 02:26 AM
#7
If you dont want the column to be vanished use nowrap in your TD tag.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|