Published in CSS on Wednesday, June 2nd, 2004
Pull quotes, it turns out, are a well discussed topic on the web. I happen to find them useful, and they can be very eye catching. Have a look at some of these great examples of pull quotes by Mike Pick, for example
(ironically, while setting out to find a decent example of a pullquote for this post, I couldn't).
Personally, I have always shied away from using them too much. Why? Well, because they tend to repeat text already present, it can be difficult to try and figure out how to work them into the natural flow of an html document.
Note: it is entirely possible that I missed the solution somewhere, that this already exists but I couldn't find it...
Basically, the function will take a piece of text from within a set of <span> tags, and generate a pull quote and write it to the document.
I have checked this in all major windows browsers, Moz, the Fox, Opera, and the Win triplets, and they all seem pretty happy with it.
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..