June 21, 200818 yr Hi, I want to make sure I understand and use the box model properly for my current project. Normally I stick a container in and put floating divs inside it. I want to know how the box model applies. Is it 1 container with a margin then float divs inside with padding for the elements inside them? I'm a little confused and reluctantly think I should understand it better. Cheers Andy
June 21, 200818 yr Hi, I want to make sure I understand and use the box model properly for my current project. Normally I stick a container in and put floating divs inside it. I want to know how the box model applies. Is it 1 container with a margin then float divs inside with padding for the elements inside them? I'm a little confused and reluctantly think I should understand it better. Cheers Andy Try this link : http://www.w3.org/TR/REC-CSS2/box.html Good explanation of box model. It is a complex subject, just make sure you under stand how margins, paddings and borders are used and how the different types of measurements can produce different positioning outcomes. Good Luck Pointze
Create an account or sign in to comment