I am newbiew to css.
Please have a look of this simple two column layout first.
http://www.vanseodesign.com/blog/demo/2-col-css.html
I want to ask why the width of content + width of sidebar =/= width of container?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Width of content = 610px
Width of padding in content = 5+5 = 10px
Total width of content = 620px
Similarly Total width of sidebar with padding = 340px
So total content and sidebar = 620+340 = 960px which is equal to width of container !