tag:blogger.com,1999:blog-9318552.post116592453389146043..comments2008-06-01T10:51:14.707-07:00Comments on Web Usability & Website Optimization: Float:left does not work in Firefox/NetscapeDinesh Gajbhiyehttp://www.blogger.com/profile/04665570121013975629noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-9318552.post-41227010853513065582008-03-28T12:52:00.000-07:002008-03-28T12:52:00.000-07:00Hi. I hope I can get some help here. Website on ...Hi. I hope I can get some help here. Website on googlepages has worked fine and suddenly the left margin with graphic, links, and some text appears at the bottom of the right hand column on both IE 7 and Firefox 2. The issue is on MY computer, it all looks right on both browsers, as well as on the manage domain web pages. I've cleared history on my browsers and it still looks fine but on other computers it appears to be missing in action.<BR/><BR/>Any insights on what/why this is happening - or on how I could fix it when i can't even see the problem on my computer?<BR/><BR/>ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9318552.post-45868598139716323662007-06-08T04:02:00.000-07:002007-06-08T04:02:00.000-07:00Useful entry, thanks!Just one comment: "which I th...Useful entry, thanks!<BR/><BR/>Just one comment: "which I think is logically correct as if we don’t specify the width=100% that means we assume the browser considers it to be 100%."<BR/><BR/>What you typically see browsers doing if you don't specify a width on a (non-floated) div is 100% by a MARGIN box model, actually (which is ridiculously convenient!).<BR/><BR/>Or, in standards talk: The width of the auto-sized box is "100%-(2*padding)-(2*border)-(2*margin)".<BR/><BR/>Test it if you like - take a div with implicit width and alter the padding and see if it resizes... then do the same with a div you've explicitely told to be 100% wide. :)<BR/><BR/>I hope that helps!pinkgothichttp://www.blogger.com/profile/13608357100201065934noreply@blogger.comtag:blogger.com,1999:blog-9318552.post-54700378455904206582007-04-27T22:47:00.000-07:002007-04-27T22:47:00.000-07:00Of course float: left and float: right do work on ...Of course float: left and float: right do work on Firefox (i just dunno with netscape).<BR/><BR/>With regards to IE, to ensure floating works well, do not break codes into different lines.. as this is what destroys the layout in IE most of the time.sweetperceptionshttp://sweetperceptions.i.phnoreply@blogger.com