How to make Sidebar in CSS

103 views
asked Dec 1, 2012 in General by sally23 (1,250 points)
I want to make a sidebar  using CSS coding, but I haven’t been able to do it. Has anyone done this before? If so, I would really appreciate your help..
Many thanks

1 Answer

0 like 0 dislike
answered Dec 1, 2012 by SmartHost (9,060 points)
you can nest the code inside your content, like this

<div id="WPage">

<div id=" Your Content">

<div id="Column1">
</div><!—close Column1-->

<div id="YoursideBar">
</div><!-- close sideBar -->

</div><!-- close Content -->

<p class="clear" />
</div><!-- close webPage -->

check

http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/
...