aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Need to keep one column constant in HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need to keep one column constant in HTML?" Watch "Need to keep one column constant in HTML?" New topic
Author

Need to keep one column constant in HTML?

Kartik Talasu
Ranch Hand

Joined: Aug 21, 2009
Posts: 98
Hi All

Am having a table which is having 15 columns, because of many columns my page is scrolling on right side.
Assume like am having table of Name and Marks where Name is of 1st column and the other 14 are of marks.

So I want to keep first column (Name) constant and the remaining ones scrollable, how to achieve this?


Regards,
Kartik
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Frames or a scrolling div? JavaScript (or GUI) framework? You won't be able to do with with just a standard table.
Kartik Talasu
Ranch Hand

Joined: Aug 21, 2009
Posts: 98
Hi David,

Thanks for the reply, am not using any framework but JAVASCRIPT and DIV will work for me.



Thanks,
Kartik
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need to keep one column constant in HTML?