Fixed header+iframe
2015-03-22, 05:53 AM,
#1
Hello, so I want to build a page with a fixed header, containing some text, and an iframe containing another site. can someone help me with that?

see the pic below to get the idea. I'm sure you;ve already seen that


Attached Files Thumbnail(s)
   

If wishes were horses, beggars would ride.
Reply
2015-03-22, 07:52 AM,
#2
<center>
<h1> header </h1>
<iframe src="http://google.com"></iframe>
</center>
Latest Thanks - View all

Jooky3r(2015-03-22 03:13 PM) 

NA
Reply
2015-03-22, 08:03 AM,
#3
Well, you could do it like this,

<!DOCTYPE html>

<html>
<head>
<title>IFRAME</title>
<style type="text/css">
nav{
width: 100%;
min-height: 50px;
margin: 200px 0 0 0;
}
</style>
</head>

<body>
<iframe src="http://google.com"></iframe>
</body>
</html>
Latest Thanks - View all

Jooky3r(2015-03-22 03:13 PM) 
Reply
2015-03-22, 03:13 PM,
#4
Thank you for your answers.
This is the final result ( if someone will ever need it)

HTML

<html>
<body>
<head>
<link rel="stylesheet" type="text/css" href="mycss.css">
</head>

<div id="uberbar">
HEADER
</div>

<iframe src="URL" style="position:absolute; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:1;">
Your browser doesn't support IFrames
</iframe>`
</body>
</html>

MYCSS.CSS

#uberbar {
border-bottom:1px solid #eb7429;
background:#fc9453;
padding:10px 20px;
position:fixed;
top:0;
left:0;
z-index:2000;
width:100%;
}

If wishes were horses, beggars would ride.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Auto Height Iframe for File Lockers CPAGrip MalcolmKevin 3 240 2017-03-21, 01:52 AM
Last Post: MalcolmKevin
  How do I iFrame a CPA offer? Rational 5 2,384 2017-03-17, 03:00 AM
Last Post: siranjipa
  Adworksmedia iFrame? OldManJenkins 4 239 2017-02-20, 08:07 AM
Last Post: OldManJenkins
  I can't iframe offer from Cpagrip Ricochetox 13 2,189 2016-11-02, 05:28 PM
Last Post: 8pipes
  Iframe mobile responsive Stevennn 4 1,017 2016-06-28, 03:50 AM
Last Post: Stevennn




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top