Hi guys,
I have done this before, but I can't figure out why it won't work. If any of you can see my problem, please let me know. Here are the relavent pieces of code.
[HTML]<!-- Main Content -->
<div class="main_con tent">
<!-- Content -->
<div class="content" >
<p>main content</p>
</div> <!-- End of Content -->
<!-- Side Bar -->
<div class="side_bar ">
<p>side content</p>
</div> <!-- End of Sidebar -->
</div> <!-- End of Main Content -->
[/HTML]
[CODE=CSS]body {
background: #CCFFFF;
text-align: center;
margin: 0;
padding: 0;
}
div.main_conten t {
width: 1000px;
height: auto;
margin: 0 auto;
}
div.content {
width: 600px;
height: auto;
text-align: left;
right: 0;
}
div.side_bar {
width: 200px;
height: auto;
left: 0px;
}
[/CODE]
I have done this before, but I can't figure out why it won't work. If any of you can see my problem, please let me know. Here are the relavent pieces of code.
[HTML]<!-- Main Content -->
<div class="main_con tent">
<!-- Content -->
<div class="content" >
<p>main content</p>
</div> <!-- End of Content -->
<!-- Side Bar -->
<div class="side_bar ">
<p>side content</p>
</div> <!-- End of Sidebar -->
</div> <!-- End of Main Content -->
[/HTML]
[CODE=CSS]body {
background: #CCFFFF;
text-align: center;
margin: 0;
padding: 0;
}
div.main_conten t {
width: 1000px;
height: auto;
margin: 0 auto;
}
div.content {
width: 600px;
height: auto;
text-align: left;
right: 0;
}
div.side_bar {
width: 200px;
height: auto;
left: 0px;
}
[/CODE]
Comment