CSS Zen Garden Turns 10
mlingojones writes "The CSS Zen Garden — an attempt to showcase the power of CSS, from ye olden days when most sites used tables for layout, when CSS2 was bleeding edge, when IE5 was the most popular web browser — turns 10 today. In celebration, the maintainer Dave Shea is reopening the project for submissions, with a focus on CSS3 and responsive design."
CSS Zen Garden taught me just how awesome CSS can be. If I could just learn it.
On a related note, I recall an amazing flash demo from around the same time, it was called Ray Of Light.
Does anyone have an archive of that somewhere? I remember it had an interesting font where all the vowels were underlined.
When we remember we are all mad, the mysteries disappear and life stands explained.
The 'zen' was that you could load a new .css file and have a completely different-looking web page with the same content. I was doing some web design about 8 years ago - badly, I was about 14 and working for my high school over the summer - and even though I didn't know what I was doing it was so obviously a better way to do things than the table-based layout of the existing website that I tried (and failed) to figure out how to do it myself.
Never could figure out web design, so I switched to programming.
I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
CSS has its uses, but the approach to layout is awful. The "float/clear" model is fundamentally one-dimensional. Tables are 2D grids. Most layout systems, like Qt, have some kind of 2D grid formatting system. With float/clear, just getting a few columns to work right is tough.
In practice, many sites went back to tables for layout. Facebook uses tables. Google uses tables. Amazon uses tables. eBay uses tables. Even Slashdot uses tables. Pure float/clear layout is seen mostly in HTML generated by content-management systems, like Wordpress.
CSS certainly didn't make web pages shorter. The claimed "abstraction benefit" never materialized. Some content management systems generate a separate page of CSS for each HTML page. Others just keep generating the same verbose junk over and over again. There are rather routine web pages with 4000 lines of HTML/CSS.
Yes, I absolutely hate and detest CSS and Zen Garden. Their so called 'designs' are filled with absolute pixel sizes and assume a lot about fonts used - set fonts to 250% and lots of these 'designs' become unintelligible. That crap has set us back at least 10 years in UI design.
It has only recently became possible to use CSS to create table-like sites, and it's still NOT possible to create non-trivial sites that resize themselves based on content.
Amazon, Facebook and slashdot DO NOT use tables for layout, that's total nonsense.
Wrong. Take a look at the HTML for today's home page of "slashdot.com": ...
<table bgcolor="333333" class="thisday-tb"><tbody> <tr>
<td class="thisday-yr"> 2012 </td>
<td>
<a href="//news.slashdot.org/story/12/05/08/1817203/tsas-mm-wave-body-scanner-breaks-diabetic-teens-10k-insulin-pump?sbsrc=thisday">TSA's mm-Wave Body Scanner Breaks Diabetic Teen's $10K Insulin Pump</a> </td>
<td>
<span style="" class="cmntcnt"><span style="background:#333" class="slant"></span><span style="background: #333; color:#fff; font-weight:bold; font-size:.85em">811<span class="hide"> comments</span></span></span> </td> </tr>
That's the "This day on Slashdot" section. When a grid is needed, most sites use a table.
You are one of the few. Now I am not saying that programming is the same as coding a webpage.
However too often I see PHP/HTML and other coders make extremely ugly designed web pages and web page designers write horrible code.
Zen Garden helped the coder a bit to make it look nice.
Don't fight for your country, if your country does not fight for you.
I've actually tried my hand at web design since, and I don't think I've completely embarrassed myself. The most important thing since 2004ish is that the tools are miles better - both the browsers themselves are, you know, predictable, and there are competent debugging utilities if the layout isn't right. In 2004 if you wanted your layout to look right, you were still stretching spacer GIFs all over the place.
I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
While I am all about digital preservation, this is what archive.org is for, no?
How does opening a site for submissions relate to digital preservation?
I just think CSS is one of those things everyone needs to know something about.
But a site dedicated to raising awareness and providing user-submitted examples of how awesome it can be when used creatively isn't useful...?
I just mean it was a nice site that served it's purpose, and maybe that purpose is now fulfilled. I don't know how important it is for the site to be re-opened for submissions or if there is a lot to accomplish.
Think of it this way: could the Zen Garden ever become better than it once was? Could it be more influential? I don't think it could, and believe it would be hard to trump it's earlier successes.