m***r 发帖数: 294 | 1 Help:
I need to create two layers in a html page
Header POSITIONED AT 100,100<
/td> |
Text POSITIONED AT 100,100
td> |
- Once the overflow happens, I would like to have scrollbar adding in the
second layer. If you move the scrollbar, the first layer will be still.
- Once I print, the whole page will be printed, not just the showing window.
I appreciate y | c******r 发帖数: 21 | 2 default setting is automatic overflow. If you won't put
much text in the first layer, no scrollbar will appear.
But anyway you can add this in the css or style tag:
overflow:scroll ->for displaying the scrollbar regardless of the length
overflow:hidden ->no scrollbar, hide the overflowed content
【在 m***r 的大作中提到】 : Help: : I need to create two layers in a html page : : Header POSITIONED AT 100,100< : /td> |
: : : Text POSITIONED AT 100,100 : td> |
:
| m***r 发帖数: 294 | 3 Doesn't matter. My concern is to add scorllbar in the second layer but not
first layer.
【在 c******r 的大作中提到】 : default setting is automatic overflow. If you won't put : much text in the first layer, no scrollbar will appear. : But anyway you can add this in the css or style tag: : overflow:scroll ->for displaying the scrollbar regardless of the length : overflow:hidden ->no scrollbar, hide the overflowed content
| c******r 发帖数: 21 | 4 没懂。两个层的位置一样,是上下重叠的??
100<
【在 m***r 的大作中提到】 : Help: : I need to create two layers in a html page : : Header POSITIONED AT 100,100< : /td> |
: : : Text POSITIONED AT 100,100 : td> |
:
|
|