Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll only certain area

Status
Not open for further replies.

Maine

Technical User
Feb 4, 2001
41
0
0
US
My website pages are designed with a header, and top menu, lefthand sidebar area beside a righthand information area. I want the righthand information to scroll but keep the rest of the information in place. How is that done?
 
it's usually done with frames, although I think you can also do it with layers
Code:
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 248px; top: 151px; overflow: scroll;"></div>
you'd have to adjust the size and position of this obviously, but hopefully it gives you an idea of how it can be done with layers

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top