Welcome visitor
* Login
* Register
It is currently September 18th, 2019, 12:29 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
  Put an iFrame over an hr line
PostPosted: December 8th, 2009, 2:47 am 

Posts: 16
Hi, im new on this html world so I can only come with stupid questions. This is one of them. How can I put an iframe in the middle of an <hr>? The hr should be on the middle of the screen, then the iframe should also be centered on the screen but over the <hr> line. Do you know how to do it?


*******************
*******************
*******
iframe*******
-----------iframe-----------
*******iframe*******
*******************
*******************


* is for the screen
- is for the hr line
iframe is for the space the iframe should use


Top
 Profile  
 
  Re: Put an iFrame over an hr line
PostPosted: December 8th, 2009, 3:39 am 

Posts: 26
<head>
<style type="text/css">
  *{margin: 0px; padding: 0px}
  body, html{height: 100%}
  .hrline{position: relative; top: 50%}
  .win{width: 70%; height: 40%; margin-left: 15%; position: absolute; top: 30%}
</style>
</head>
<body>
<hr class="hrline" />
<iframe class="win"></iframe>
</body>

cheers!


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