/    Sign up×
Community /Pin to ProfileBookmark

Positioning objects at the bottom of the screen in IE

How can I use javascript to position an object at the bottom of the viewing area of the browser regardless of the height and width of the browser?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@russell_g_1Mar 24.2005 — you should be able to do it with absolute positioning. you just get the height and width of the client area and calculate where you want your "footer" to appear. hopefully it has a set height??
Copy linkTweet thisAlerts:
@russell_g_1Mar 24.2005 — oh yeah. you'll prbably need to use the onscroll event to keep it at the bottom of the page. otherwise it'll be in the wrong place once they start scrolling around.
Copy linkTweet thisAlerts:
@bwheelerauthorMar 24.2005 — Thanks that is what I looking for. How do I get the height of the client area though?
×

Success!

Help @bwheeler spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...