div1 is floated left so div2 comes up beside it. If I want to add a 10px left margin on div2, why do I need to set it to 60px? ie. the width of div1 + 10px. Can I make div2 relative to div1 so I can set the div2 left margin to 10px?
<!DOCTYPE html>
<html>
    <head>
        <style>
            #div1{
                width: 50px;
                float: left;
            }
            #div2 {
                margin-left: 60px;
            }
            #div1, #div2{
                border: 1px solid red;
            }
        </style>
    </HEAD>
    <BODY>
        <div>
            <div id="div1">
                div1
            </div>
            <div id="div2">
                div2
            </div>
        </div>
    </BODY>
</html>