iframe alignment

admin

Administrator
Staff member
I'm not sure how to properly align a screen using iframes. I'd like the first frame to be 75 pixels high and the second frame to be the rest of the screen. How do I let one frame size with the screen while keeping the other one static?<br />
<br />
What I have looks as follows:<br />
<iframe frameborder="no" height="75" width="780" src=http://www.webdeveloper.com/forum/archive/index.php/"top.htm" name="top" scrolling="AUTO" noresize><br />
</iframe><br />
<iframe frameborder="no" width="780" src=http://www.webdeveloper.com/forum/archive/index.php/"home.htm" name="main" scrolling="AUTO"><br />
<iframe><br />
<br />
Any help would be greatly appreciated. Thanks<!--content-->you should be able to say <br />
<br />
height="*" for the second iframe<br />
<br />
cheers<br />
<br />
Khalid<!--content-->Wow, I must be tired! Thanks Khalid!<!--content-->Hmm, havn't tested this, but does that work (especially crossbrowser)?<br />
<br />
I know it works in a frameset with <frame>s, but with <iframe>s on a page it feels like it could get messy.<br />
<br />
Using * as height for an <iframe> for sure is not allowed in the HTML specs...<!--content-->I did try it and unfortunately it did not work. Any other suggestions?<!--content-->Originally posted by hammy86 <br />
I did try it and unfortunately it did not work. Any other suggestions? <br />
<br />
Is there a reason you cannot use a regular frame instead of only iframes?<!--content-->
 
Back
Top