Welcome visitor
* Login
* Register
It is currently March 24th, 2019, 2:50 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  image on a fixed position
PostPosted: February 12th, 2009, 9:49 pm 
User avatar

Posts: 61
Hi there,
what can i use to set an image on a specific position, i mean, not on the left, nor on the center, but somewhere in between? thanks.


Top
 Profile  
 
  Re: image on a fixed position
PostPosted: February 12th, 2009, 10:00 pm 

Posts: 26
<img style="position:absolute; top:999px; right:999px;" src="file.jpg">

if u omit the absolute the browser ignores the top and right parameters


Top
 Profile  
 
  Re: image on a fixed position
PostPosted: February 12th, 2009, 10:33 pm 
User avatar

Posts: 61
Thanks for the answer. Now when the size of the browser window changes, the position remains the same, so now they are on the wrong position, does that make sense? anyway, any help is appreciated.


Top
 Profile  
 
  Re: image on a fixed position
PostPosted: February 12th, 2009, 10:39 pm 

Posts: 26
change the px for percentages
<img style="position:fixed; top:40%; right:20%;" src="file.jpg">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


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 post attachments in this forum

Search for:
Jump to:  
cron