Dreamweaver and tables

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

I am having trouble with Dreamweaver or it is having trouble with me. I can't make my tables fit up against each other. For example I have two white tables with a white background and the body background is colored. There is a small space between the two tables where they should meet and it shows the background. How can I make them fit flush with each other?

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

You will have to make the tables have a 0 cell space then they should appear seamless & right next to each other.

Busy's picture

He has: 6,151 posts

Joined: May 2001

This isnt the answer you're looking for, but it works:

Do the best you can in DW then edit the rest by hand.

I once spent 2 and a bit days trying to get a simple nested table layout to line up properly in DW, in the end did it by hand, would of been quicker to do it all by hand but then again some people can work DW as if it was just like making a cup of coffee

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

I must admit that I don't handcode (I can do bits and pieces but would struggle from scratch, but that's just 'cos I don't have time to site down & think about it!) I do everything in DW and always have done and I must be one of those that it's like making a cup of tea as I very rarely have any problems getting it to do what I want Smiling

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Cellspacing is 0. Already checked that. I think it is making up stuff or spaces. DW has a mind of its own. I wish I could make it work as easily as some can.Confused

Hi-Ho Hi-Ho, Off to notepad I go!

:flame:-----> Dreamweaver

McPhilly's picture

They have: 62 posts

Joined: Aug 2001

Try:

1: Make sure there is nothing between the two tables, not even a space (in the code now, not in the WYSIWYG.

2: Make sure, cell padding, cell spacing, and border is 0

If that don't work, then ... something is wrong. !?

I can use dreamweaver with my eyes closed, but can also code by hand with my eyes closed. Dreamweaver makes making sites quick and easy, but the code it throws out is normally pretty terrible.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Hey McPhilly!!! You are a genius. In dreamweaver, apparently you HAVE to specify a border. I didn't have border=0 or border anything in the code but when I added it that fixed my problem. When I handcoded it in Notepad, and left the border=0 out completely it worked. This is strange. Oh well, as long as it works.

Thanks again for the suggestion.
DM

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.