• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to fix the header constant while scrolling  RSS feed

 
Sanjeev Gowda
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all the java masters,
I am using

"<display:table name="requestScope.Listname" style sort="page" pagesize="200" uid="ftbList" defaultorder="ascending" requestURI="/DTC/ftb.do?dispatch=display">"

to display the values got from the database using

"<display:column sortable="true" property="ID" nulls="true" title="ID" />"

Inside a <div> and the <div> size is just 250 px (i am not supposed to change the size of the div
Since the data is more the vertical scroll bar comes and when i scroll the header also moves. I want to set the header fixed when scrolled or in other words i want to remove the scroll for header, i am not supposed to increase the pagesize. So please tell me how i can achieve this please

Thanks in Advance
Sanjeev
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One solution is to have a separate <iframe> for header and data.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66156
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with JSP. Please be more careful about which forum you post your questions in.

Moved to the HTML forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!