Posts: 7
Name: Amy Connor
Location: New York, New York
|
You should put 3 divs in the same line. Left and rigth divs you can use for adverts. The center div will hold main content.
To get an idea try this code:
<style type="text/css">
#container { border: 1px solid #000; }
#left { background: #eee; width: 20%; float: left;text-align:center;}
#center { background: #ccc; width: 60%;float: left;text-align:center;}
#right { background: #eee; width: 20%; float: right;text-align:center;}
</style>
</head>
<body>
<div id="container">
<div id="left">
left column
</div>
<div id="center">
main content
</div>
<div id="right">
right column
</div>
</div>
__________________
"Those who deny freedom to others deserve it not for themselves"
"Look for Please login or register to view this content. Registration is FREE or Please login or register to view this content. Registration is FREE in divorce courts - hey, you never know."
|