Welcome visitor
* Login
* Register
It is currently January 22nd, 2019, 8:45 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  positioning help
PostPosted: May 7th, 2009, 8:13 pm 
User avatar

Posts: 52
Hi all, i have a div that is positioned on my screen on the upper right corner. The problem is that when the window is resized that div remains there and i want it to scroll as the window is resized, you know, to keep the original aspect. What should i change in my code?

<div style="position: absolute; top: 30px; left: 800px; width: 170px; height: 70px">


Top
 Profile  
 
  Re: positioning help
PostPosted: May 7th, 2009, 8:49 pm 
User avatar

Posts: 86
I see that you have your div positioned according to the LEFT side. This helps to avoid laying your div over other elements. If you want to keep it that way you should better use "%" on your sizes and positions. Nevertheless, if you change it to be positioned according to the RIGHT side it would solve your problem way fast!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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