Tag Archives: Safari

Expanding a box to contain floating elements, again

Back in February I found out a neat trick for making a DIV element expand to contain floating elements within it, by setting display: table.
Unfortunately it’s not so neat when you have a form inside of the table-styled element, and you’re trying to view it on Safari1. As I discovered today, the form just doesn’t [...]