Problem with gaps..

They have: 238 posts

Joined: May 2002

I have just started a new site and I am having a few problems with the layout. As you can see on my site, there are 3 gaps. One down the bottom on the nav bar and the other two are located in the main content cell. I've tried everything that I can think of to get rid of them. I would appreciate it if someone could help me out.

Thanks,
Nuke

My Site

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

The problem is that in your code you have spaces in between the image and /td. Get rid of those and you should be ok

They have: 238 posts

Joined: May 2002

Thanks allot for your help Wink
Its always the simple things that stop me in my tracks..

They have: 238 posts

Joined: May 2002

I am having another problem with tables. I need to make it so the content cell and the nav bar cell dont both get bigger when I scroll down in one of them. For example, if I put 50 lines of text in the main content cell, I dont want to nav bar to go down 50 lines, I want to stay the way it was. I have tried many combinations of cells and tables but I just cant work it out! Any help is appreciated, thanks.

Use this URL to get to my site.

Busy's picture

He has: 6,151 posts

Joined: May 2001

you want the navigation to stay at the top?
If so, add valign="top" to the td cell of the naviagtion

or maybe you want the naigation section shorter than the content side?
If so, use a nested table (another table) for the navigation section inside the main td cell


navigation

main content

I didnt look at your code so am not sure how many cells yoru using, just adjust the above to suit.

They have: 238 posts

Joined: May 2002

I understand what your saying, but I dont know how to do it on my tables. I have too many cells and I just cant work it out.

Busy's picture

He has: 6,151 posts

Joined: May 2001

ok, redo your layout, make one table for the top section
make another table for the rest, this second table, give it three cells (3 td's) add the navigation in the first section, add the gap in the second, and content in the third.

That would be the easiest way, next would be add some cols and rows or redo the whole lot.

remember border="1" in a table cell is your friend when making table layouts

They have: 238 posts

Joined: May 2002

I ended up working it out, thanks allot for your help Busy.

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.