Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Special Interests > Web Design and Development
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Aug 3, 2008, 06:10 PM   #1
harveypooka
macrumors 65816
 
harveypooka's Avatar
 
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.
harveypooka is offline   Reply With Quote
Old Aug 3, 2008, 06:21 PM   #2
samwich
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
samwich is offline   Reply With Quote
Old Aug 3, 2008, 06:23 PM   #3
harveypooka
Thread Starter
macrumors 65816
 
harveypooka's Avatar
 
Join Date: Feb 2004
Location: Not Akron
Quote:
Originally Posted by samwich View Post
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!
__________________
"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.
harveypooka is offline   Reply With Quote
Old Aug 4, 2008, 08:33 AM   #4
operator207
macrumors 6502
 
Join Date: Jul 2007
Quote:
Originally Posted by harveypooka View Post
I repeat: dog simple.

Thank you, Sir!
Did you fix it yet? I cannot read the last entry. Its "in the treeline".
Using Safari Version 3.1.2 (5525.20.1)
operator207 is offline   Reply With Quote
Old Aug 4, 2008, 08:44 AM   #5
harveypooka
Thread Starter
macrumors 65816
 
harveypooka's Avatar
 
Join Date: Feb 2004
Location: Not Akron
Quote:
Originally Posted by operator207 View Post
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.
__________________
"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.
harveypooka is offline   Reply With Quote

Reply

Mac Forums > Special Interests > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:59 AM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC