So, I've been trying so many examples I've seen from google and checked several different sites and I cannot figure out for the life of me how to get the third iframe to align on the bottom of the page. On my screen its fine but on my buddy's, the bottom of the frame is 2 inches up from the bottom with the background from the homepage filling up the empty space.

You can see it for yourself

]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta name="description" content="Hurts So Good Tattoo Located in Vancouver, WA">
<meta name="keywords" content="Hurts So Good Tattoo Vancouver WA">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="Web Page Maker">
<body background="images/davecardred.jpg">
<div id="iFrame2" style="position:absolute; left:0px; top:137px; z-index:0">
<iframe name="iFrame2" width="1280" height="425" src="frame2.html" scrolling="yes" frameborder="1"></iframe>

<div id="iFrame1" style="position:absolute; left:0px; top:1px; z-index:1">
<iframe name="iFrame1" width="1280" height="137" src="frame1.html" scrolling="no" frameborder="1"></iframe>

<div id="iFrame3" style="position:absolute; left:0px; top:531px; z-index:2">
<iframe name="iFrame3" width="1280" height="100" src="frame3.html" scrolling="no" frameborder="1"></iframe>


Please help, I've been going at this for hours and don't think I can stare at this monitor anymore.


Recommended Answers

All 2 Replies

i would say, you should just use bottom: 0px instead of top: 531 for #iframe3
and maybe you should sett the a variable width to the iframes, so everyone can see the page fullscreen..

I don't think your use of iFrames is appropriate for your site. You're building and styling the site the way things were done in 1996. Look around the web a bit and you'll not see many sites build the way yours is. iFrames are generally only used on an odd page or two where it helps to keep all the data in the one place.

eg (this is a very old site)
see how it uses the iframe, and why it helps. But that's the only page with an iframe

Using them for general page and site layout is a long forgotten and generally disused technique. May it rest in peace.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.