Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
0
0
CA
How can I have nested frames like the following:


| Frame1 | Main Frame | Frame2
| | |
| | |
| | |
-------------------------------------------------
Frame3
 
Not sure why you would want to sue so many frames but something like this:

CSS:
*{
margin:0px;
padding:0px;
}

html,body{
width:100%;
height:100%;
}

HTML:
<iframe name='frame1' style="width:20%; height:70%;">Frame1</iframe><iframe name="mainframe" style="width:58%; height:70%;">MainFrame</iframe><iframe name="frame2" style="width:20%; height:70%;">Frame2</iframe>

<iframe name="frame3" style="width:100%;">Frame3</iframe>


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Surely they aren't nested frames? Surely they're just sibling frames?

While nested frames aren't a problem, what you've drawn is not what you've asked for (i.e. one frame inside another frame).

Are you sure you want nested frames?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
jasonhuibers,

What's your overall usage of the frames? Is it in a single HTML document, or are you trying to design a new website? What is your scope?

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top