Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

V-Align problem

Status
Not open for further replies.
Jan 26, 2001
550
GB
Hi, i wonder if anyone could cast a fresh eye on an infuriating problem i cannot seem to solve.

Take a look at the following site:


now click on the register link on the right hand side. Notice how the menu is centred vertically now that the page is longer - it is supposed to stay at the top.

I cannot figure out what is causing this to happen, and if i paste the html back into dreamweaver, the page appears correctly!

any ideas?

thanks alot

Nick

Nick (Webmaster)

info@npfx.com
 

The spacer image of height 127 in the row above is causing your menu to appear where it does.

Hope this helps,
Dan
 
That's the trouble with using tables for layout, it's difficult to see what's going on - especially when you've got loads of them all nested inside eachother.

Change the main table near the top to say
Code:
<TABLE WIDTH=760 [b]BORDER=1[/b] align="center" CELLPADDING=0 CELLSPACING=0>
and you'll see what's going on. It's not the vertical alignment of your cells, but where the browser chooses to split between rows.

I had a fiddle around, but couldn't get it to size them as you want. The only way I can think of that'll fix it is to put that right-hand menu in the same cell as design_05.jpg, ie do this:
Code:
<TD ROWSPAN=[b]4/b] valign="top" bgcolor="78C9F8">
<IMG SRC="images/design_05.jpg" WIDTH=227 HEIGHT=286 ALT="">[b]<BR>
Jobseeker Services<BR>
... etc ...
</TD>

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top