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

How to VALIGN Nested Tables in HTML?

Status
Not open for further replies.

Chinyere

Programmer
Mar 9, 2001
79
US
Hi All,

Does anyone know how to align nested tables? I create tables in the usual fashion then I nest another table in the <TD> field. My problem is that I would like to TOP align (VALIGN) this table and can't. Does anyone know how to do this or is it impossible?

Note: I cannot (not allowed) to use CSS for alignment purposes.

I am coding in HTML. Thanks.

Chinyere [afro2]
 
this works for me:

<table border=&quot;1&quot; height=&quot;100%&quot;>
<tr>
<td valign=&quot;top&quot;>
<table border=&quot;1&quot; height=&quot;100&quot;>
<tr>
<td>inner</td>
</tr>
</table>
outer
</td>
</tr>
</table>


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Why &quot;can't&quot; you use CSS. YOU ALWAYS can.
If this is homework; shoot your teacher for teaching you bad html.
 
Hi jemminger,

Thanks! It works for me too.

Hi WizyWyg,

I know that I should be able to use CSS but the client forbids it. I know [bugeyed]...

This is not a homework assignment, trust me...

Chinyere [afro2]
 
the client forbids CSS? why don't you suggest he require NS4 or Mosaic as the browser too!?!? why on earth would he forbid css?



=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top