form problem

  • Thread starter Thread starter shahzad
  • Start date Start date
S

shahzad

i have 2 user controls and a html table with 3 rows
when i put header and footer in 1st and 3rd row
respectively it never gets rendered acordingly
it always shows footer over header that is in 1st row
according to someone's advice i have removed all style
attributes from user control 3 and from table as well but
never worked...wats the solution
here is the code

<body >
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" border="0">
<TR>
<TD vAlign="baseline" align="center" style="HEIGHT:
29px">

<uc1:header id="Header1"
runat="server"></uc1:header></TD>
</TR>
<TR>
<TD valign="baseline" style="HEIGHT:
337px">sdasdaaasdassdasdasdasdasds</TD>
</TR>
<TR>
<TD align="center" valign="bottom">
<uc1:footer id="Footer1" runat="server"></uc1:footer></TD>
</TR>
</TABLE>
</form>
</body>
 
Not sure what baseline stands for but i consider sticking with HTML 4.0....
it valign=top or botton or middle. align = left, right or center

remove all the style attributes for height... the rest looks fine...
check your user controls to see if they have positional... ie they have
style attributes....

hope this helps
 
Back
Top