Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 11:34 am
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
  keep an iframe on the same spot of the screen
PostPosted: November 20th, 2009, 5:45 am 

Posts: 17
I'm using an iframe at the right side of my site
<iframe src="http://www.scriptingok.com"
style="width: 300px; height: 100px; float: right">
</iframe>

when the window is resized everything all moves to fit the screen and even the iframe is pushed to the left, is there a chance to keep it on the right side of the screen always? And it will only be visible if the window is big enough. Thanks in advanced.


Top
 Profile  
 
  Re: keep an iframe on the same spot of the screen
PostPosted: November 20th, 2009, 6:06 am 

Posts: 65
The only way to do it will have a container with a fixed size, it can be the body tag.
<body style="width: 800px">
<iframe src="http://www.scriptingok.com"
style="width: 300px; height: 100px; float: right">
</iframe>


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