>Hi Tim,
>
>I've already attempted to do as you suggested. The problem is that I need to dynamically adjust the column widths because the content of the table columns changes (or can change). As you can see, I cannot fix the column width to a set value of pixels since it may then become inappropriate for the column's content (either too large or small).
>
>Thanks for the feedback.
>
>Mike.
>
>>>>Put the headers in a frame.
>>>
>>>Also, after the frames load, set the widths of the header columns equal the the widths of the detail columns.
>>
>>Looking at an example of when I did this, I used fixed pixel widths. So, I don't know if you will be able to dynamically change the column widths with DHTML. Just keep the column widths for the header table and detail table the same.
Why don't you try getting the maximium length of the data in each column from your dataset and convert the number of characters to pixels?
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.
"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).