Tuesday, January 31, 2006

Comments on Stylin' and the three column fluid template

First, I want to say thanks to everyone who has bought a copy of Stylin'. Its success has been an amazing experience for me - its sales have exceeded even Peachpit's best expectations, and I have many positive reviews on Amazon and tons of mail from readers telling me it has helped them, so I am very happy that it has been useful to so many people.

Unfortunately, it went to press on a breakneck schedule and I didn't even get a chance to review some of the chapters after submitting my final manuscripts. I'll accept some of the blame as I had no idea how much work I was committing to, and it just took way longer than planned. Peachpit enter into contracts with stores and Amazon immediately after I sign my contract, and they meet those commitments - I can't fault them for that.

The time crunch came because I crammed a lot more in than I planned, which was good and bad. I covered a lot more ground than I thought I could in the book, but a side effect is that there are many more errors, most minor typos, than I would like. These are being fixed in a reprint that is out on the 15th of March.

Here's an new file that provides more capability that the Robust Template on page 162. The side columns in this example do not push down the footer when they are longer than the content area (it uses absolute positioning of the side columns).

So here is a more advanced layout, a Fluid Three Column Template on the Stylin' site, which meets the requirements of a fluid center and the longest column pushing down the footer. This example uses a nifty negative margin technique that I first saw on A List Apart a while ago, and which has been refined even further (only 1 container required, not two, as in my version) in a new article on the same site entitled Holy Grail. Also see PositionIsEverything's article on this subject. If you give my template a try, please let me know how it works for you. I have used it with success recently as the basis for a large university site that has not gone live yet, but has gone through extensive QA, and I will post a URL when it if finally live.

Friday, January 27, 2006

Sometimes what you wanted isn't what you wanted

I imagine George Bush waking up today to think that there is finally another democratically elected government in the Middle East, and it's a terrorist organization backed by Iran. Ironic, really.

Meantime, I am busy working for a non-profit client on a CD ROM in Macromedia Director that documents all the hate and terrorist web sites around the world, which gives me the strange feeling of being isolated from the world's problems in my pleasant home in a peaceful little town in California, while somehow being involved, albeit in a small way.

Still, I'm spending today as I have for the last month developing a tool to help people better understand what is going on in the promotion of the worst of human nature on the Web - from racism, to zenophobia to religious righteousness, from fanatical anti-abortionists to fanatical terrorists. The common theme is religion and its use to justify almost any inhuman activity you care to think of. Killing in the name of...

Thursday, January 26, 2006

Got CSS question? SXSW has answers.

I am speaking on a panel entitled "CSS Problem Solving" at SXSW in Austin on April 13th. Fellow panelists are Christpher Schmitt, Dave Shea, Ethan Marcotte and Lisa McMillan. If you have CSS questions you want answered, submit them here. Like any good offer, you don't have to present to win, or in this case, get your question answered, although the South by South West is aptly described by fellow panelist Christopher (quoting some else) as "spring break for geeks" and who would want to miss that? And remember, folks, nothing says multimedia like a larger-than-life battery-powered banana.

Keeping it together

With a full time job, two kids, a book to write, another to edit for a second edition and a daily blizzard of email, sometimes the days go by too fast. Things that don't get always done include spending enough time with my beloved wife, girlfriend and best pal (yes, all the same person), writing music, helping the kids with homework and the XBox (my five year old can beat me most of the time anyway), and writing to people who write to me about my book, Stylin' with CSS.

The blog is here to give those readers a chance to contact me and perhaps each other, and let me rant about whever seems important on an as needed basis.