the first row in a table

liunx

Guest
I wonder if it is possible to freeze the first row in a table and at the same time keep it aligned with the rest of the table contents as the width of the cells change dynamically.<!--content-->Umm, I didn't really understand your question. Could you please<br />
- be more specific<br />
- OR: Tell me that I'm very stupid.<br />
<br />
Sorry.<!--content-->I have a long table that when scrolled, the table header will remain in place????<!--content-->Sounds like you are looking for frames...<br />
<br />
This is index.html:<br />
<frameset rows="150,*" cols="100%" border="0"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"header.html" name="header" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" noresize><br />
<frame src=http://www.htmlforums.com/archive/index.php/"content.html" name="content" scrolling="auto" frameborder="0" marginwidth="0" marginheight="0" noresize><br />
</frameset><br />
<br />
Then, make header.html for the header and content.html for the content.<br />
<br />
Change <frameset rows="150,*" ...> if you don't want the header to be 150 px high.<br />
<br />
Hope this helps.<!--content-->The fact is that I know how to do this using layers, but I don't know how to at the same time keep the header table aligned with the rest of the table contents as the width of the cells change dynamically. (Part of an .asp-page)<!--content-->please help me - <br />
how to make column width in the header table to be the same width as columns' in the data table<!--content-->you don't need frames.<br />
<br />
<!-- m --><a class="postlink" href="http://www.snippetlibrary.com/viewhtml.php?id=4&kid=138&siteid=232">http://www.snippetlibrary.com/viewhtml. ... siteid=232</a><!-- m --><!--content-->thanks, but thw width of tables is static<br />
how can I make column width of header table to be changed same way as columns in the data table will be changed depending on the data from db.<!--content-->
 
Back
Top