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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format HTML to be centered vertically

Status
Not open for further replies.

jjoy123123

Programmer
Oct 22, 2002
20
0
0
US
Here's the problem - I have a table that has 3 cells with another table embedded in the middle cell. I want everything in the main table to be centered vertically. However, the middle cell seems to be pushing the contents to the top of the cell instead of centering it in the middle. Please help - I don't know how to vertically center everything...


<<BODY><BR><BR></TD><TD width=&quot;2%&quot;> </TD> </TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=&quot;100%&quot; border=0>
<TBODY>
<TR bgColor=#3d63ac>
<TD width=&quot;19%&quot; height=36>
<DIV align=center><IMG height=36 src=&quot;footer_files/logo.jpg&quot; width=139>
</DIV></TD>
<TD vAlign=center align=middle width=&quot;51%&quot; bgColor=#3d63ac height=36>
<FORM name=QueryForm
action= method=post>
<TABLE>
<TBODY>
<TR>
<TD><IMG height=16 alt=Search src=&quot;footer_files/search.jpg&quot;
width=61> </TD>
<TD><INPUT maxLength=100 name=SearchString> </TD>
<TD><IMG style=&quot;CURSOR: hand&quot; onclick=QueryForm.submit(); height=23
alt=Go src=&quot;footer_files/goButton.jpg&quot; width=37 border=0> <INPUT
id=Hidden1 type=hidden value=true name=init> <INPUT id=Hidden2
type=hidden value=1 name=pg> <INPUT id=Hidden3 type=hidden value=1
name=rec> </TD></TR></TBODY></TABLE></FORM></TD>
<TD width=&quot;30%&quot;>
<DIV align=center><IMG height=27 src=&quot;footer_files/opop.jpg&quot; width=222>
</DIV></TD></TR></TBODY></TABLE></BODY></HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top