Alignment Problem

They have: 344 posts

Joined: Jun 2002

Hi guys!

I have a bit of a problem with the alignment of the site here. My first problem is that I want the table saying "Home Page" to be aligned with the nav bar and secondly the text following it to be in line.

The link is: http://www.cmdirector.neosurge.net/markindex.shtml

Many thanks!

Jimmy Changa's picture

They have: 220 posts

Joined: Mar 2003

The "Home Page" table needs to be aligned "left", not "right". Smiling

They have: 344 posts

Joined: Jun 2002

It still doesn't work mate. When I said align, I meant as in horizontally. Sorry for the confusion! Shocked

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

align (left, center, right) are horizontal.

valign (top, middle, bottom) are vertical

You can use valign in the element.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

As for the "blah" -- can you not put it in the proper cell?

They have: 344 posts

Joined: Jun 2002

Quote: Originally posted by Suzanne
align (left, center, right) are horizontal.

valign (top, middle, bottom) are vertical

You can use valign in the element.

I don't think I am explaining this too well at all. I want the Home Page think appear next to the nav horizontally. When I try using the align and valign tag, it just acts for that row. For some reason it doesn't move it up next to the nav. I can only guess it is because it is another table.

Jimmy Changa's picture

They have: 220 posts

Joined: Mar 2003

Well yeah, it needs to be in the cell next to the nav cell.

When working with tables and getting things aligned, sometimes it's good to turn on the borders (border="1") while your working. That lets you get a good idea what the cellpadding and cellspacing are doing too. Just an idea. *shrugs*

Busy's picture

He has: 6,151 posts

Joined: May 2001

you have an extra at the end of your nav table

They have: 344 posts

Joined: Jun 2002

Yes shouldn't I have that for:

<table width="100" valign="top" cellspacing="0" cellpadding="5" bgcolor="#66CCFF">
<tr width="100" valign="top">
'?

I am trying to do what I did on another of my websites, http://cmdirector.neosurge.net and while all of it worked, the only problem I had was with the nav. So I can guess that the problem is either the way I have inserted my nav or the table below.

They have: 344 posts

Joined: Jun 2002

Problem solved now guys! Smiling

Busy's picture

He has: 6,151 posts

Joined: May 2001

congrats on solving it,
the problem I pointed out was a double , you had

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.