문제

Html frames are good choice for some scenarios on web content, especially simple content management.

My page contains a top frame and content frame. My problem is, as the page moves down to end, the top should move too, and if scrolling equals top heiht, the top woldn's be seem.

Note: There is only one top page in this project and many content pages. The content pages do not contains also a top page code. Jus the known frameset template. The only difference is frames are desired to move .

도움이 되었습니까?

해결책

What I could understand is that you tried to create a section of the page that scrolls as you scroll down/up on the page.

In your CSS, if your iframe id is "frame",

then do this

#frame{
position:fixed;
/* specify widths and heights as you like */
}

다른 팁

If you have a header that needs to stay at the top of the page use the

position: fixed;

technique, if im wrong you need to seriously rephrase your question.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top