html fix

He has: 688 posts

Joined: Feb 2001

Can somebody look at a table I just made and tell me what I did wrong?
http://www.hampton-homes.net/homes/McLaren.php
I left the border at 1 so it's easy to see. I would like as little space as possbile (none) underneath the word McLaren so that row #2 comes right up close underneath it. Same goes for the wasted space underneath the 2nd row.

Thanks.

They have: 238 posts

Joined: May 2002

Get rid of the height attributes on your columns.

For example change:
The McLaren

to:
The McLaren

This will remove the spaces under the rows. If the height isn't specified the cells will be automatically adjusted to fit their contents.

He has: 688 posts

Joined: Feb 2001

I just removed the height attributes from the table in question but nothing changed. Any other ideas? Do you think this is because of the rowspan attribute? When I get a chance I can try to embed a second table within a single cell to the right of the house graphic.
Sad

BTW, those heights of 20 were smaller than the text content within the cells, in an attempt to force it as closed as possible.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

What do you have against whitespace? Anyway, it looks tight to me in Safari, what browser is having an issue?

taff's picture

They have: 956 posts

Joined: Jun 2001

Quote: Originally posted by fifeclub
Do you think this is because of the rowspan attribute?

Ya know what? I just posted a very similar problem and I'm also using row (and column) spans in the offending table. I wonder if you've hit on something there.

.....

Busy's picture

He has: 6,151 posts

Joined: May 2001

I get a 404 with that link, have a look at taffs question, as my answer could be the same for you as well

He has: 688 posts

Joined: Feb 2001

Sorry about that link. It worked up until today but last night I capitalized the file name so I could easily create related links and graphics automatically via php stuff. Anyway I just adjusted the link in the original post so it should work now. Over the weekend I'll test out the rowspan theory and I'll let everyone know if it helped.

P.S. Suzanne, I was using IE6

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Unrelated:

Is this forum having problems with the email notification? I never got an email regarding those last two replies, yet I did get email notifications from a reply I had left in the critique area last week.

He has: 688 posts

Joined: Feb 2001

Well I got rid of the rowspan and went with the embedded table and it worked. I suppose there's just something about rowspan that won't allow other columns to collapse fully. Thanks all.

Cool

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.