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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrolling area

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
GB
I am using the below code as the start of a scrolling area. Now the problem is netscape. it works fine in ie but only works in netscape if you change the "position:relative;" to "position:absolute;" ! I need to use relative positioning and don't understand why it won't work in netscape?!?! Any help please!?

#divUpControl {position:relative; left:0px;top:5px; width:0px;height:30px; z-index:1; text-align: right}
#divDownControl {position:relative; left:0px; top:260px; width:0px;height:30px; z-index:1;text-align: right}
#divContainer {LEFT: 15px; VISIBILITY: hidden; OVERFLOW: hidden; WIDTH:320px; CLIP: rect(10px 320px 270px 0px); POSITION: relative; TOP: 10px; HEIGHT: 320px}
#divContent {LEFT: 0px; POSITION: relative; TOP: 0px}
 
I don't think we can help you. From my limited knowledge, I believe NS will not work with rel. positioning. I hope I'm wrong. Kevin
slanek@ssd.fsi.com
 
Possible work-around -

Absolute Positioning works from the next block element up, not the body. Usually, the body is the next element up, but a properly defined DIV will do the job. Might prove useful if you cant avoid absolute positioning,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top