PDA

View Full Version : Positioning Help




harveypooka
Aug 3, 2008, 06:10 PM
I'm playing around with an idea:

http://www.harveypooka.net/mountain/index.html

Now, you see the tree line at the bottom of the page, I want that to always stay with the viewport. So, if the user scrolls, the treeline stays at the bottom. At the moment it works if you resize the window, but not if the content continues past the bottom of window and the user needs to scroll; the treeline stays where it is.

I've gotten in a bit of tizz about positioning. I'm sure this is dog simple. Help? ;)



samwich
Aug 3, 2008, 06:21 PM
on the images you have the position set to absolute, change this to fixed and you are good to go.

some reference

http://www.w3schools.com/Css/pr_class_position.asp

harveypooka
Aug 3, 2008, 06:23 PM
on the images you have the position set to absolute, change this to fixed and you are good to go.

some reference

http://www.w3schools.com/Css/pr_class_position.asp

I repeat: dog simple.

Thank you, Sir! :D

operator207
Aug 4, 2008, 08:33 AM
I repeat: dog simple.

Thank you, Sir! :D

Did you fix it yet? I cannot read the last entry. Its "in the treeline".
Using Safari Version 3.1.2 (5525.20.1)

harveypooka
Aug 4, 2008, 08:44 AM
Did you fix it yet? I cannot read the last entry. Its "in the treeline".
Using Safari Version 3.1.2 (5525.20.1)

Yes, the trees are now fixed to the viewport.

I need to sort the "last post lost in the trees", I'll do that later today. ;)