This is a stoopid question
Hello
I should know this but don't.
Can anyone help?
I've done a table and when I add large pieces of text in one box, the others all jump around. I'm doing it on Dreamweaver and they look fine when I'm in the prog. But when I preview it it looks totally different.
I think I've set the indiv table values (width, height)... oh, help! I'm going to have to make a cup of tea and weep...
Thank uuuu
Jo
anti posted this at 14:02 — 25th January 2001.
They have: 453 posts
Joined: Jan 1999
The problem is that the table/cell sizes are just hints for the browser.
To fix a cell to a minimum size you could add an invisible/transparent gif and give it the size you want.
If you can ignore old browsers (<4.x) try using CSS, it removes all those dirty tricks and results in much cleaner design.
anti
Jo Tomlinson posted this at 17:43 — 25th January 2001.
They have: 34 posts
Joined: Jan 2001
prob is it goes way over the size I want it to be. So I don't know if using transparent gifs will work as I need to restrict the size to a minimum instead of it stretching. (Hope that makes sense:)... it sounds confusing to me and i wrote it!)
By CSS do u mean style sheets? How that help? In the tables are gifs - no text - which are a not a size which should stretch the table in any way.
Oh, so many things, and me with such a small brain
Hope u can help me more...
jo
x
Justin S posted this at 20:06 — 25th January 2001.
They have: 2,076 posts
Joined: Jun 1999
I think I get what you're saying. Could you post a URL to the page you're talking about? Or if you can't, just send an email to me with the file.
Brian Farkas posted this at 01:57 — 26th January 2001.
They have: 1,015 posts
Joined: Apr 1999
Hi Jo.
From the impression I get, you're using "expandable tables" (percentage width instead of fixed width) and one of the columns is expanding where you don't want it to expand when at a higher resolution.
Here's what you would do for that:
Set the table you _do_ want to expand at a width of 100%- you could even put a transparent gif file set at a width of 100% in that cell as well.
Then, put a transparent gif for the size you want your other table cells to be in the appropriate cells, so they won't change size. You can see an example of this on my web site, http://www.intersurge.com. Try changing the resolution, and notice the left bar doesn't increase in size.
I hope this helps!
Brian
P.S. If you're talking about something different, please post the URL so we can see an example of what you mean.
anti posted this at 08:45 — 26th January 2001.
They have: 453 posts
Joined: Jan 1999
the problem is that even if you have on cell "100%" and another "20" that the small one will get expanded if the content doesn't fit.
If you use style sheets you can give absolute values.
Show me the money ... aehm ... URL, so we can take a look at it.
Jo Tomlinson posted this at 10:11 — 26th January 2001.
They have: 34 posts
Joined: Jan 2001
Sorry, would've replied earlier but was asleep (me on england time). But I've worked it out!!
I woke up in the night with a lightbulb over my head and realised I should put a transparent gif around my empty table cells to stop the filled ones moving:rolleyes:. And it worked, and, yes, I can't believe I didn't get it b4hand.
Thanks for all your help
Jo
rainwater posted this at 13:36 — 26th January 2001.
They have: 12 posts
Joined: Oct 2000
Jo,
I am not a pro here, but I have had the same problem. The way I solved it was to make more tables inside my initial table. I don't mean a separate table for each graphic, but to break it up. Have one initial table, then for instance, put the header in a table inside the original table, then if you have a nav bar, put that in a table inside the table. You, of course, will have to merge cells and set the height and width of them. Also, when you do this, before you put the table in, align the cell to the top so your table will stay at the top of the cell.
I hope this helped.
Deb
anti posted this at 14:55 — 29th January 2001.
They have: 453 posts
Joined: Jan 1999
rainwater:
Yes, I think we've all done this before.
There is one problem with this approach:
If you have a pic in one of the lower level cell's some browsers won't display anything within the table bofre the picture is loaded.
Maybe one other problem:
Some crawler don't like nested tables.
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.