Help - Search - Members - Calendar
Full Version: How do you make a 2 colum layout?
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
TwilightBella
I have a few sites and I was wondering how do you exactly make a 2 colum layout and code it? I have paint shop pro 8 so how would i make and code a layout using that?
Mikeplyts
That's called a div/overlay layout. First you would need to make div classes
I.E.
CODE
<style>
.content1 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
.content2 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
</style>

(Replace ### with your own measurements.)

Then,
CODE
<div class="content1">
STUFF GOES HERE
</div>
<div class="content2">
STUFF GOES HERE
</div>


And you can design the main background image however you want as long you can position your divs inside the content area on your image. _smile.gif
TwilightBella
QUOTE(Mikeplyts @ Dec 11 2008, 08:08 PM) *
That's called a div/overlay layout. First you would need to make div classes
I.E.
CODE
<style>
.content1 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
.content2 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
</style>

(Replace ### with your own measurements.)

Then,
CODE
<div class="content1">
STUFF GOES HERE
</div>
<div class="content2">
STUFF GOES HERE
</div>


And you can design the main background image however you want as long you can position your divs inside the content area on your image. _smile.gif


do you have an example I can see?
Mikeplyts
You could try looking at the Website Templates here on cB.
TwilightBella
im new at this I don't understand it i mean i know the basic of html
but im not that good at it. I mean when i make the layout in psp do i
make the whole layout like the boxes and all?
Mikeplyts
That's what I would do. _smile.gif
TwilightBella
oh ok wasn't sure
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.