Image Bottom Right Corner of the Screen

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Image Bottom Right Corner of the Screen

Post by Pyrite »

How do I put an image on a webpage at the very bottom right corner of the screen? Perhaps something that isn't fixed, but will be there at the bottom right no matter what resolution the page is being viewed in. ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Code: Select all

<img src="whatever.jpg" style="position:absolute;right:0;bottom:0;z-index:100" />
I believe.
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

That sort of does it, that puts it in the middle right, or the bottom right when first viewing the page, but then you scroll down and it stays in the middle right.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you want it to stick to the bottom right? you need a timer that keeps setting the position.
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

Hmm, a timer, do you have one? :D
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply