|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors 65816
Join Date: Feb 2004
Location: Not Akron
|
Positioning Help
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?
__________________
"I've wrestled with reality for 35 years, and I'm happy, Doctor, I finally won out over it." - James Stewart (Elwood Dowd) in Harvey, 1950. |
|
|
|
|
|
#2 |
|
macrumors regular
Join Date: Aug 2007
|
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 |
|
|
|
|
|
#3 | |
|
Thread Starter
macrumors 65816
Join Date: Feb 2004
Location: Not Akron
|
Quote:
Thank you, Sir!
__________________
"I've wrestled with reality for 35 years, and I'm happy, Doctor, I finally won out over it." - James Stewart (Elwood Dowd) in Harvey, 1950. |
|
|
|
|
|
|
#4 |
|
macrumors 6502
Join Date: Jul 2007
|
|
|
|
|
| operator207 |
| View Public Profile |
| Find More Posts by operator207 |
|
|
#5 | |
|
Thread Starter
macrumors 65816
Join Date: Feb 2004
Location: Not Akron
|
Quote:
I need to sort the "last post lost in the trees", I'll do that later today.
__________________
"I've wrestled with reality for 35 years, and I'm happy, Doctor, I finally won out over it." - James Stewart (Elwood Dowd) in Harvey, 1950. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|