Table size

They have: 74 posts

Joined: Sep 2000

HI I have a HTML problem in keeping the table size the same no matter what. In other words I want to keep the total table width to the the full screen but I don't want any celss to expand if the text doesn't fit.
EX:
BLABLABLACONTENTMORE STUFF

Where CONTENT being updates and stuff. the CONTENT is making the cell bigger which makes you have to horizontally scroll to see the whole table/page

My site is http://www.ianrules.xoasis.com

hehe

They have: 81 posts

Joined: Feb 2000

Ian,

Your table has three columns: a left navigation column, a center text column, and a right off-site links column.

The table is defined as width="100%" (okay so far). The left column has width="33%" (still okay) the center column has width="67%" - oops! We're out of table width and still have another whole column to go. What's a browser to do?

In this case it opted to expand the table beyond the right edge of the screen. There are some other issues as well, but one thing at a time.

First, change the width on the left column to a fixed pixel width, about 150 to start ( width="150" - you can adjust later as needed), then change the center column to width="100%". Then add width="150" to the right column cell tag. This should solve the main problem with the page.

I would remove the PRE tags and the WRAP=PHYSICAL attributes. They aren't doing what you want, and in the case of the WRAP, aren't valid (thus ignored) in tables anyway.

Running your page through a validation program (either online - http://validator.w3.org/ , or offline - http://www.htmlvalidator.com/ ) will help you troubleshoot your page and find these sort of issues yourself.

hth Smiling

Bimjo
Just my opinion, worth $0.00001 anywhere on earth.
======================
Bimjo's Corner

They have: 74 posts

Joined: Sep 2000

ok thanx I never thought of the percentage widths
as far as the PRE tag i put that 'cause I was too lazy to put BR a hundred times and I wa trying to solve my own problem when I put in the WRAP thing(becuase in textarea it does something). thanks

hehe

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.