sepoto Posted January 14, 2011 Share Posted January 14, 2011 I have a '<table> that contains three columns. I would like to label the columns and in addition if I am able to have the column names "follow" the user as they scroll down and maintain the first line position on the screen I would like to do that as well. Does anyone know what is the best way to label my columns in HTML?Thank you!Eric Link to comment Share on other sites More sharing options...
gar onn Posted January 14, 2011 Share Posted January 14, 2011 I don't realy understand your question but , i think this might help:see: http://www.w3schools.com/tags/tag_col.asp <table width="100%" border="1"> <colgroup span="2" align="left"></colgroup> <colgroup align="right" style="color:#0000FF;"></colgroup> <tr> <th>ISBN</th> <th>Title</th> <th>Price</th> </tr> <tr> <td>3476896</td> <td>My first HTML</td> <td>$53</td> </tr></table> Link to comment Share on other sites More sharing options...
ShadowMage Posted January 14, 2011 Share Posted January 14, 2011 What you're looking for is a fixed table header.There are some jQuery plugins that can do that for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.