Some code i wrote

http://paste.pocoo.org/show/106445/

Call it like:

Columns_Resize($("selector for tables to line up widths"))



On Mar 4, 8:48 am, Alain Roger <raf.n...@gmail.com> wrote:
> Hi,
>
> i have 2 tables, 1 contains only headers and another only the data.
> do not ask me why it is like...it has to :-)
>
> however, i must give/allocate the same <td> width to header and data cells.
> for that i was thinking to use jQuery.
>
> is there an easy way to synchronize <td> width of both table in order to
> make then look as 1 table (while scrolling data) ?
> or should i give an ID to each td and to call each <td> ID and allocate
> width of the headers  table ?
> thx.
>
> --
> Alain
> -----------------------------------------------------------
> Windows XP x64 SP2 / Fedora 10 KDE 4.2
> PostgreSQL 8.3.5 / MS SQL server 2005
> Apache 2.2.10
> PHP 5.2.6
> C# 2005-2008

Reply via email to