Hi astralrose! How have you been? I'm fine, thanks. Um, I'm not really sure what you are shooting for but, I'm guessing three iframes in a row that are evenly spaced out with two of them on each side with the other one centered. Try this out:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#floatframe {
text-align:center;
width:90%;
height:500px;
margin:0 auto;
}
</style>
</head>
<body>
<div id="floatframe">
<iframe style="float:left";" width="20%" height="60%" src="about:blank" frameborder="1" hspace="10%"
vspace="0" scrolling="auto" name="norman"></iframe>
<iframe style="float:right;" width="20%" height="60%" src="about:blank"frameborder="1" hspace="10%"
vspace="0" scrolling="auto" name="lovett"></iframe>
<iframe width="50%" height="60%" src="about:blank" frameborder="1" hspace="30%"
vspace="0" scrolling="auto" name="lovett"></iframe>
</div>
</body>
</html>
Notes: You probably want a unique name for each iframe, instead of having two named "lovett", but I do.
How about making one of them bob?
There is now only one division, it is statically positioned (normal flow of the page). Its dimensions can be adjusted in the style section and are what the iframes' % dimensions of width and height work off of. I added borders and made the src attributes "about:blank" for demo purposes only. The strict DOCTYPE is required to put IE into 'almost standards' mode. But you can also use this one instead:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
If it makes coding the rest of the page easier. The one I used is the best for having things look mostly the same in IE and FF.
Just don't use the one from your post, it is too loose.
Bookmarks