title: Can I set the height of a div based on a percentage-based width?
body: <p>Let's say I've got a div that has a width of 50% of the body. How do I make its height equal to that value? So that when the browser window is 1000px wide, the div's height and width are both 500px.</p>