Published in CSS on Sunday, February 27th, 2005
I was going to post this in the Links and Resources, however it looks like some testing is still needed, and, if it works, this is potentially great news (in a CSS liking kind of way). "Simple Clearing of Floats" over at Sitepoint - the website that I underestimated
likes to resize my browser and piss me off - looks to have an easy solution to a common problem.
Sitepoint CSS guru Paul O'Brien has discovered that by applying
overflow:auto to the CSS rules for a parent div that contains a floated element, the parent div will expand to completely contain the floated element.
It seems that it was a browser setting and likely some accidental cookie deleting that lead to my misunderstanding of how Sitepoint deals with their popups. Kudos and thanks to Thomas Rutter for clearing things up with me, and for trying to do it right from the outset.
While I'm chatting about Sitepoint, is it not a little weird that they are using that browser manipulating pop-up that resizes Firefox every time I visit (or click within a page of) their site. What the hell is up with that? They're clever people, set a cookie on my computer and let me only get that pop-up once, or once a week, but for the love of all things, don't do it to me every time I visit.
I started freelancing by diving in head first and getting on with it. Many years and a lot of experience later I was still able to take away some gems from this book, and there are plenty I wish I had thought of beforehand. If you are new to freelancing and have a lot of questions (or maybe don't know what questions to ask!) do yourself a favor and at least check out the sample chapters.
Like the other books listed here, this provides a great reference for the PHP developer looking to have the right answers from the right people at their fingertips. I tend to pull this off the shelf when I need to delve into new territory and usually find a workable solution to keep development moving. This only needs to happen once and you recoup the price of the book in time saved from having to develop the solution or find the right pattern for getting the job done..