Fix layout for IE 8 and IE 9

Partial fix for issue #14