Dividing a html page into 2 colums
how to divide a html page into 2 columns ?
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhijit PatilRank #700 · 3.4K reputationPosted Jun 20, 2014, 3:08 AM EDT
see the following code snippest,
hope its helps
div style="width:100%;"> Main Div --> Header div style="float:left; width:20%;"> Left Set Div As your requirement --> /div> div style="float:left; width:80%; margin-left:10px;"> Right Set Div As your requirement --> /div> div> Footer /div> /div> you will need to modify above styles in stylesheet for all pages.Abhishek JaiswalRank #126 · 17.5K reputationPosted Jun 20, 2014, 4:29 AM EDT
you have many option, you can use
- Frames
- Diversions
- Table
:)
Sharad RathoreRank #3,483 · 416 reputationPosted Jun 24, 2014, 4:14 AM EDT
Thanks And Regards,
Sharad Kumar Rathore
kalu singh raoRank #884 · 2.4K reputationPosted Jul 10, 2014, 9:11 PM EDT
http://jsfiddle.net/kalusingh/68MX6/
Sagar PardeshiRank #103 · 20.8K reputationPosted Jul 10, 2014, 10:51 PM EDT
http://cssdesk.com/d64uy