1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <!-- comments get removed -->
5 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6 <meta name="author" content="Dave Shea">
7 <!-- also whitespace around block or undisplayed elements -->
8 <meta name="keywords" content="design, css, cascading, style, sheets, xhtml, graphic design, w3c, web standards, visual, display">
9 <meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
10 <meta name="robots" content="all">
11 <title>css Zen Garden: The Beauty in CSS Design</title>
13 <!-- to correct the unsightly Flash of Unstyled Content. http://www.bluerobot.com/web/css/fouc.asp -->
14 <script type="text/javascript"><!--
15 // js comment inside SCRIPT element
17 ie: navigator.appName == 'Microsoft Internet Explorer',
18 java: navigator.javaEnabled(),
19 ns: navigator.appName == 'Netscape',
20 ua: navigator.userAgent.toLowerCase(),
21 version: parseFloat(navigator.appVersion.substr(21)) ||
22 parseFloat(navigator.appVersion),
23 win: navigator.platform == 'Win32'
25 is.mac = is.ua.indexOf('mac') >= 0;
26 if (is.ua.indexOf('opera') >= 0) {
27 is.ie = is.ns = false;
30 if (is.ua.indexOf('gecko') >= 0) {
31 is.ie = is.ns = false;
35 <script type="text/javascript">
42 <script type="text/javascript">
45 <script type="text/javascript">
49 <style type="text/css">
50 /*! copyright: you'll need CDATA for this < & */
51 body {background:white;}
54 <style type="text/css" title="currentStyle" media="screen">
55 @import "/001/001.css";
56 /*\*/ css hack {} /* */
57 /* normal CSS comment */
58 /*/*/ css hack {} /* */
67 href="http://www.csszengarden.com/favicon.ico">
70 type="application/rss+xml"
72 href="http://www.csszengarden.com/zengarden.xml">
74 <body id="css-zen-garden">
75 <!--[if !IE]>--><p>Browser != IE</p><!--<![endif]-->
78 <h1><span>css Zen Garden</span></h1>
79 <h2><span>The Beauty of <acronym title="Cascading Style Sheets">CSS</acronym>
\r
83 White space is important here!
85 <div id="quickSummary">
86 <p class="p1"><span>A demonstration of what can be accomplished visually through <acronym title="Cascading Style Sheets">CSS</acronym>-based design. Select any style sheet from the list to load it into this page.</span></p>
87 <p class="p2"><span>Download the sample <a href="/zengarden-sample.html" title="This page's source HTML code, not to be modified.">html file</a> and <a href="/zengarden-sample.css" title="This page's sample CSS, the file you may modify.">css file</a></span></p>
89 <textarea name="comment" id="comment" rows="6" class="maxwidth" cols="80">66666
92 Preserve at least 1 char of whitespace near <script type="text/javascript"></script>scripts in case of document.write().