Is it possible to make a row of php output, stay fixed at the top of the screen? So that when the page scrolls down, the top row stays fixed but the other rows scroll?
Scroll down but not the top row.
Collapse
X
-
Hi,
for this purpose I prefer to use div tag with css style and javascript. put the output of the fixed row within a div tag and put its z-index value higher. Now using javascript u need to fix the position of the div so that it always stays at the top position of the browser's screen. Now put the other rows in another div tag and put its z-index value lower.
As a result the first div will always float at the top position of the screen and above the second div tag.
U can look for DHTML effects for this purpose.
susenOriginally posted by bearyIs it possible to make a row of php output, stay fixed at the top of the screen? So that when the page scrolls down, the top row stays fixed but the other rows scroll?
Comment