views:

126

answers:

1

Hi, How can I "divide" a page up into a series of iframes and position them in this sort of fashion: http://img81.imageshack.us/img81/4605/layoutew.jpg where each "box" is a scrollable iframe, in my case containing a scrollable list of "Genres" in the first top-left pane, then "Composers" in the middle pane, etc. (NB: it's only really the iframe positioning that I'm having trouble with, I'm fine with coding the lists etc. I only made a point of them to add some context to my question).

Thanks

A: 

http://www.w3.org/TR/html4/present/frames.html

div                { padding:0;margin:0; }
.container         { position:relative; width:100%; height:100%;  }
.topcontainer      { height:45%; }
.box               { float:left; width:33%; padding:5px;  }
.bottom            { height:55%;  }

 <div class="container">
     <div class="topcontainer">
        <div class="box">content</div>
        <div class="box">content2</div>
        <div class="box">content3</div>
     </div>
     <div class="bottom">Yille!</div>
 </div>
CodeJoust
Thanks for your reply, but I want to be able to do it all from one html document (so I wouldn't be able to use the src attribute)
Deacon
Why don't you just use div's with overflow:scroll and position them absolutely?
CodeJoust