Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

HTML tables alignment problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
billsahiker@yahoo.com - 01 Jun 2007 18:42 GMT
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
tomisarobot@gmail.com - 01 Jun 2007 19:14 GMT
in your outer table give the tds this property:

valign="top"

html vertically aligns tds to middle by default.
billsahiker@yahoo.com - 01 Jun 2007 19:34 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.