Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hey, i do realise that you can use negative margins but it just means taking the height from the previous div away from the current div's margin first and this is quite a nasty way of doing things i think Commented Dec 24, 2009 at 16:17
  • The cleanest and simplest way to perform what you need to do is not float any elements. Just add a height to #playArea, as mentioned by Kaze no Koe. Based on the info you've given I can't imagine there is a better or easier way to do it than what he suggested. Commented Dec 24, 2009 at 23:01