ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CSS For displaying an image in the upper right hand corner

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS
View previous topic :: View next topic  
Author Message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Wed Feb 01, 2006 10:23 am    Post subject: CSS For displaying an image in the upper right hand corner Reply with quote

I'd like to display an image that remains in the upper right hand corner of the screen even as you scroll down the page. Is there a CSS definition to make this happen?
_________________
Programmers do it in code
Back to top
View user's profile Send private message
twinkle



Joined: 31 Jan 2006
Posts: 79

PostPosted: Wed Feb 01, 2006 1:10 pm    Post subject: Reply with quote

I would think absolute positioning would work for you:

Quote:
position: absolute;
top: 30px; /* 30 pixels from the top of the page */
right: 80px; /* 80 pixels from the left hand side */
width: 100px; /* Always set a width for absolute positioned block level elements, such as divs */
border: 1px solid red; /* So we can see what is happening */

_________________
I shine
Back to top
View user's profile Send private message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Thu Feb 23, 2006 1:49 pm    Post subject: Reply with quote

I have tried that, but sometimes the image seems to blink and disappear on me when I am scrolling down. Is this a known issue or something else?
_________________
Programmers do it in code
Back to top
View user's profile Send private message
rose



Joined: 21 Feb 2006
Posts: 29

PostPosted: Sun Feb 26, 2006 5:01 pm    Post subject: Reply with quote

Which browser does it do that in?

All browsers or just in Firefox?
It sounds like something Ive heard happen a bit in Firefox.
Back to top
View user's profile Send private message
paul



Joined: 11 Oct 2004
Posts: 128

PostPosted: Mon Feb 27, 2006 11:03 am    Post subject: Reply with quote

raven wrote:
I have tried that, but sometimes the image seems to blink and disappear on me when I am scrolling down. Is this a known issue or something else?


Does the image show up again, when you stop scrolling? If that's the case then this is normal browser behavior; it just re-draws the image, while you're scrolling, that's why you see the blinking.
_________________
World Countries | Survival Skills
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial