tags:

views:

107

answers:

3
+2  A: 

It's not quite clear whether you want fixed-width or floating-size "panels," but you can find tutorials for a wide range of HTML layouts using CSS at this website:

http://www.maxdesign.com.au/presentation/page%5Flayouts/

There are several varieties of two-column layouts.

James McNellis
+7  A: 

Are the height/weight of the boxes fixed or fluid? Has panel A any background? The easiest way:

HTML

<div id="container">
    <div id="side"> panel A</div>
    <div id="head"> panel B</div>
    <div id="content"> panel C</div>
</div>

CSS

#container{
    width: 100%;
}
#side{
    width: 20%;
    float: left;
}
#head{
    width: 80%;
    float: left;
}
#content{
    width: 80%;
    float: left;
}

If you have background to panel A, you should set it to the container, and inherit it from.

Edit:

Q: How do I ensure that panel C doesn't slide under panel A when A's content is shorter/equal to Panel B?
A: You have two option:
a) Wrap B and C to a wrapper div:

HTML

<div id="container">
    <div id="side"> panel A</div>
    <div class="wrapper">
        <div id="head"> panel B</div>
        <div id="content"> panel C</div>
    </div>
</div>

b) Play with padding; set 20% padding to the container, and -20% margin to the side:

CSS

#container{
    width: 80%;
    padding: 0 0 0 20%;
}
#side{
    width: 20%;
    float: left;
    margin: 0 0 0 -20%;
}
erenon
Thanks for answering my follow-up, even after I deleted it!! I wish I could accept this answer again. :)
Nescio
A: 

Homework! We off that!

offthat
Did you happen to notice that the questioner has over 4,000 points? You may not find this to be a very sophisticated or difficult question, but it doesn't actually appear to be homework.
DOK
More to the point, even if it is homework, who cares?
cletus