Hmmm... those tables...
I got a table with width="95%". Inside that table I got a with 2 's, the first one has a absolute width (example: width="20"), the second one has a relative width, let's say width="99%".
When I test this I see that the tablewidth is no longer 95%, it's decreased to about 80%..., but as you propably guessed I want it to be 95%, keeping the first 's width to 20 pixels.
So I want to adjust the second 's width to the rest of the screenwidth.
Main question: H O W ?
I've tried 'the frame way' : width="*" in the second but doesn't help
Who helps me out of this?
Shakespeare: onclick || !(onclick)
Suzanne posted this at 18:59 — 12th September 2001.
She has: 5,507 posts
Joined: Feb 2000
95% of what is what you need to consider. Is it 95% of the space that's left? no. It's 95% of the table width.
So it's not going to work.
What you need to do is have enough guts in the table to expand it, and only use pixel values for the cells you want to be certain sizes. For Netscape compatibility, you may require spacer images to force the cells open.
In order to force a cell without width to open to a variable, dependent on the window size, size, you need to have a minimum of 101 characters of continuous data (text) in the cell.
Suzanne
P.S. See the Tables DeMystified in my sig.
Jack Michaelson posted this at 17:32 — 13th September 2001.
He has: 1,733 posts
Joined: Dec 1999
OK, thanx for the quick reply.
"In order to force a cell without width to open to a variable, dependent on the window size, size, you need to have a minimum of 101 characters of continuous data (text) in the cell."
Hmm, not trying to be rude but that looks like an April 1 solution to me . Tried it and it won't work. Propably because there's a large image in the second .
But I solved it in another way:
I set the table width to 100% and set the bodymargins to 2.5%. The result is exactly what I need.
Thanx anyway!
Shakespeare: onclick || !(onclick)
Suzanne posted this at 19:05 — 13th September 2001.
She has: 5,507 posts
Joined: Feb 2000
It depends on the table, without an url, I can only offer general advice.
If you have a table, in general, without text content in it, Netscape collapses the cells. Period. Fool or no fool, that's what happens.
However, I am glad you resolved the problems.
Suzanne
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.