By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,423 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

HTML tables alignment problem

P: n/a
Why is the top of my right-side table not even with the top of the
left-side table? I want them both to align at the top of the page, in
the content area (master page based asp project).

I have read other posts here, and Google/web, about aligning side-by-
side html tables, but my right-side table is not even with the top of
the left-side table. It is next to it, but its top edge is about 100
pixels below the top edge of the left-side table. I have tried every
trick I know, including style="positon:absolute; top: 0px;" I am using
an outer table with one row and two cells, each with a table in it.
The outer table and left table have no styling, size or postioning
elements at all.
The right table has just the above style.

The nested table works great in straight html, but in my asp project.

Can anyone please help?

Bill

Jun 1 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
in your outer table give the tds this property:

valign="top"

html vertically aligns tds to middle by default.

Jun 1 '07 #2

P: n/a
On Jun 1, 12:14 pm, tomisaro...@gmail.com wrote:
in your outer table give the tds this property:

valign="top"

html vertically aligns tds to middle by default.
That worked. Thanks.

Jun 1 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.