Help - Search - Members - Calendar
Full Version: Iframe With Top Bar
Zymic Webmaster Forums > Web Design & Development > Client Side Scripting > HTML and CSS
EarthVision
Hi. I want to have a site where there is a top bar, and underneath that the whole site is an iframe. The closest example to what I want is a proxy, how the bar is at the top and the site is underneath. I don't know how to do this, so any help would be appreciated.

- EarthVision
Softz
Do you want something similar to the Google image thingy?
When you search an image then click on it to view it keeps a google bar with all the detials at the top and allows you to search the site with the image?

sorry if that made no sense
Andrew
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title></title>
<style type="text/css">
/*<![CDATA[*/
body {
  font: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  background: #676767;
  color: #D2D2D2;
}

#head {
  font-size: 40px;
  padding: 10px 10px 30px 30px;
}
#nav {
  width: 210px;
  margin: 0 auto;
  padding-bottom: 20px;
}
#frame {
  width: 90%;
  margin: 0 auto;
  height: 600px;
}


/*]]>*/
</style></head>

<body>
<div id="head">Site Name</div>
<div id="nav">Home | About | Services | Contact</div>
<div id="frame"><iframe src="http://google.com" width="100%" height="100%"></iframe></div>
</body>

</html>


You're welcome
Softz
Well done Trippin
NaRzY
Solid effort Andrew.

Jacob.
EarthVision
Thanks alot trippin.

- EarthVision
Andrew
That's what you were lookin for right?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.