Fixed styles to use relative positioning instead of display: table and float