Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 10th, 2003, 12:09 AM
Authorized User
 
Join Date: Jun 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tgopal
Default Alignment between two tables

We have used two tables in our page.
one for header and another for data's.
The data's table having lot of records so that we need to scroll to view the all records.
we placed data's table inside a layer. so that when record increases the scroll bar appears automatically.

we need to position the columns(TD) in header table and data's table perfectly matched.

We facing problem in alignment between two tables.

We already tried with programatically by taking the data's table offsetWidth and assigning to headers table column width.
that also not works.

pls provide some tips to resolve this.


Thanks,
tgopal.
 
Old October 10th, 2003, 04:47 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I've always struggled with this, in the end I just added scroll bar to the header. It looks a bit odd but no-ones ever complained...

--

Joe





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with alignment issues (tables) sarah2237 Dreamweaver (all versions) 1 November 24th, 2005 02:30 PM
alignment craziness liquidmillsap HTML Code Clinic 0 June 20th, 2005 12:09 PM
alignment p_gauri7 Crystal Reports 0 May 9th, 2005 01:16 PM
text-alignment anshul HTML Code Clinic 5 July 18th, 2004 01:49 PM
Form alignment cpopham Access VBA 3 January 2nd, 2004 07:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.