<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>CSS禪意花園沒有樣式的布局</title> <style> body{ margin: 0px; font-family: arial; font-size: 11px; color: #557788; } p{ margin: 10px 0px; } #container{ background-color: white; width: 760px; margin: 10px auto; padding: 10px; position: relative; } #pageHeader{ background-color: #557788; padding: 10px; height: 35px; } h1{ font-size: 28px; color: white; margin: 0px; float: left; } h2{ font-size: 18px; color: #c0cedc; margin-top: 5px; float: right; } #quickSummary{ float: right; width: 260px; } #quickSummary .p1{ color: white; background-color: #C0CEDC; border: 1px #578 dashed; padding: 10px; margin: 10px 0px; font-size: 13px; } #quickSummary .p2{ margin: 0px; font-size: 10px; } #preamble{ width: 490px; float: left; } h3{ font-size: 18px; margin: 10px 0px 10px 0px; background: #C0CEDC url(pages/15/corner.gif) no-repeat; line-height: 27px; padding-left: 10px; } #supportingText{ margin-right: 270px; width: 400px; } #linkList{ position: absolute; right: 10px; top: 230px; width: 260px; } #intro { height:230px; } #explanation h3{ margin-top: 0px; } #footer{ width: 70px; position: absolute; bottom: 20px; right: 10px; } #footer a{ text-align: center; display: block; padding: 0px 20px; border: 1px #c00 dashed; } a:link,a:visited { text-decoration: none; color: #c00; } a:hover,a:active { text-decoration: underline; } </style> </head> <body id="css-zen-garden"> <div id="container"> <!--第一個部分--> <div id="intro"> <!--頁頭--> <div id="pageHeader"> <h1><span>css Zen Garden</span></h1> <h2><span>The Beauty of <acronym title="Cascading Style Sheets">CSS</acronym> Design</span></h2> </div> <!--概述--> <div id="quickSummary"> <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> <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> </div> <!--導言--> <div id="preamble"> <h3><span>The Road to Enlightenment</span></h3> <p class="p1"><span>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <acronym title="Document Object Model">DOM</acronym>s, and broken <acronym title="Cascading Style Sheets">CSS</acronym> support.</span></p> <p class="p2"><span>Today, we must clear the mind of past practices. Web enlightenment has been achieved thanks to the tireless efforts of folk like the <acronym title="World Wide Web Consortium">W3C</acronym>, <acronym title="Web Standards Project">WaSP</acronym> and the major browser creators.</span></p> <p class="p3"><span>The css Zen Garden invites you to relax and meditate on the important lessons of the masters. Begin to see with clarity. Learn to use the (yet to be) time-honored techniques in new and invigorating fashion. Become one with the web.</span></p> </div> </div> <!--第二個部分--> <div id="supportingText"> <!--釋義--> <div id="explanation"> <h3><span>So What is This About?</span></h3> <p class="p1"><span>There is clearly a need for <acronym title="Cascading Style Sheets">CSS</acronym> to be taken seriously by graphic artists. The Zen Garden aims to excite, inspire, and encourage participation. To begin, view some of the existing designs in the list. Clicking on any one will load the style sheet into this very page. The code remains the same, the only thing that has changed is the external .css file. Yes, really.</span></p> <p class="p2"><span><acronym title="Cascading Style Sheets">CSS</acronym> allows complete and total control over the style of a hypertext document. The only way this can be illustrated in a way that gets people excited is by demonstrating what it can truly be, once the reins are placed in the hands of those able to create beauty from structure. To date, most examples of neat tricks and hacks have been demonstrated by structurists and coders. Designers have yet to make their mark. This needs to change.</span></p> </div> <!--參與--> <div id="participation"> <h3><span>Participation</span></h3> <p class="p1"><span>Graphic artists only please. You are modifying this page, so strong <acronym title="Cascading Style Sheets">CSS</acronym> skills are necessary, but the example files are commented well enough that even <acronym title="Cascading Style Sheets">CSS</acronym> novices can use them as starting points. Please see the <a href="../www.mezzoblue.com/zengarden/resources/default.htm" title="A listing of CSS-related resources"><acronym title="Cascading Style Sheets">CSS</acronym> Resource Guide</a> for advanced tutorials and tips on working with <acronym title="Cascading Style Sheets">CSS</acronym>.</span></p> <p class="p2"><span>You may modify the style sheet in any way you wish, but not the <acronym title="HyperText Markup Language">HTML</acronym>. This may seem daunting at first if you’ve never worked this way before, but follow the listed links to learn more, and use the sample files as a guide.</span></p> <p class="p3"><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> to work on a copy locally. Once you have completed your masterpiece (and please, don’t submit half-finished work) upload your .css file to a web server under your control. <a href="../www.mezzoblue.com/zengarden/submit/default.htm" title="Use the contact form to send us your CSS file">Send us a link</a> to the file and if we choose to use it, we will spider the associated images. Final submissions will be placed on our server.</span></p> </div> <!--收穫--> <div id="benefits"> <h3><span>Benefits</span></h3> <p class="p1"><span>Why participate? For recognition, inspiration, and a resource we can all refer to when making the case for <acronym title="Cascading Style Sheets">CSS</acronym>-based design. This is sorely needed, even today. More and more major sites are taking the leap, but not enough have. One day this gallery will be a historical curiosity; that day is not today.</span></p> </div> <!--要求--> <div id="requirements"> <h3><span>Requirements</span></h3> <p class="p1"><span>We would like to see as much <acronym title="Cascading Style Sheets, version 1">CSS1</acronym> as possible. <acronym title="Cascading Style Sheets, version 2">CSS2</acronym> should be limited to widely-supported elements only. The css Zen Garden is about functional, practical <acronym title="Cascading Style Sheets">CSS</acronym> and not the latest bleeding-edge tricks viewable by 2% of the browsing public. The only real requirement we have is that your <acronym title="Cascading Style Sheets">CSS</acronym> validates.</span></p> <p class="p2"><span>Unfortunately, designing this way highlights the flaws in the various implementations of <acronym title="Cascading Style Sheets">CSS</acronym>. Different browsers display differently, even completely valid <acronym title="Cascading Style Sheets">CSS</acronym> at times, and this becomes maddening when a fix for one leads to breakage in another. View the <a href="../www.mezzoblue.com/zengarden/resources/default.htm" title="A listing of CSS-related resources">Resources</a> page for information on some of the fixes available. Full browser compliance is still sometimes a pipe dream, and we do not expect you to come up with pixel-perfect code across every platform. But do test in as many as you can. If your design doesn’t work in at least IE5+/Win and Mozilla (run by over 90% of the population), chances are we won’t accept it.</span></p> <p class="p3"><span>We ask that you submit original artwork. Please respect copyright laws. Please keep objectionable material to a minimum; tasteful nudity is acceptable, outright pornography will be rejected.</span></p> <p class="p4"><span>This is a learning exercise as well as a demonstration. You retain full copyright on your graphics (with limited exceptions, see <a href="../www.mezzoblue.com/zengarden/submit/guidelines/default.htm">submission guidelines</a>), but we ask you release your <acronym title="Cascading Style Sheets">CSS</acronym> under a Creative Commons license identical to the <a href="../creativecommons.org/licenses/by-nc-sa/1.0/default.htm" title="View the Zen Garden's license information.">one on this site</a> so that others may learn from your work.</span></p> <p class="p5"><span>Bandwidth graciously donated by <a href="../www.dreamfirestudios.com/default.htm">DreamFire Studios</a>. Now available: <a href="../www.amazon.com/exec/obidos/asin/0321303474/mezzoblue-20/default.htm">Zen Garden, the book</a>.</span> </p> </div> <!--頁尾--> <div id="footer"> <a href="../validator.w3.org/check/referer" title="Check the validity of this site’s XHTML">xhtml</a> <a href="../jigsaw.w3.org/css-validator/check/referer" title="Check the validity of this site’s CSS">css</a> <a href="../creativecommons.org/licenses/by-nc-sa/1.0/default.htm" title="View details of the license of this site, courtesy of Creative Commons.">cc</a> <a href="../www.contentquality.com/mynewtester/cynthia.exe@url1=http_3a_252f_252fcsszengarden.com_252f" title="Check the accessibility of this site according to U.S. Section 508">508</a> <a href="../mezzoblue.com/zengarden/faq/#aaa" title="Check the accessibility of this site according to Web Content Accessibility Guidelines 1.0">aaa</a> </div> </div> <!--第三個部分--> <div id="linkList"> <!--連結清單2--> <div id="linkList2"> <!--選擇--> <div id="lselect"> <h3 class="select"><span>Select a Design:</span></h3> <ul> <li><a href="@cssfile=_2f202_2f202.css&page=0.htm" title="AccessKey: a" accesskey="a">Retro Theater</a> by <a href="../space-sheeps.info/default.htm" class="c">Eric Rogé</a></li> <li><a href="@cssfile=_2f201_2f201.css&page=0.htm" title="AccessKey: b" accesskey="b">Lily Pond</a> by <a href="../www.tulips4rose.com/default.htm" class="c">Rose Thorogood</a></li> <li><a href="@cssfile=_2f200_2f200.css&page=0.htm" title="AccessKey: c" accesskey="c">Icicle Outback</a> by <a href="../www.timovirtanen.com/default.htm" class="c">Timo Virtanen</a></li> <li><a href="@cssfile=_2f199_2f199.css&page=0.htm" title="AccessKey: d" accesskey="d">Zen Army</a> by <a href="../www.niceguy.com/default.htm" class="c">Carl Desmond</a></li> <li><a href="@cssfile=_2f198_2f198.css&page=0.htm" title="AccessKey: e" accesskey="e">The Original</a> by <a href="../www.bluejam.com/default.htm" class="c">Joachim Shotter</a></li> <li><a href="@cssfile=_2f197_2f197.css&page=0.htm" title="AccessKey: f" accesskey="f">Floral Touch</a> by <a href="../www.jahmasta.com/default.htm" class="c">Jadas Jimmy</a></li> <li><a href="@cssfile=_2f196_2f196.css&page=0.htm" title="AccessKey: g" accesskey="g">Elegance in Simplicity</a> by <a href="../www.manisheriar.com/blog/default.htm" class="c">Mani Sheriar</a></li> <li><a href="@cssfile=_2f195_2f195.css&page=0.htm" title="AccessKey: h" accesskey="h">Dazzling Beauty</a> by <a href="../blog.denysri.com/default.htm" class="c">Deny Sri Supriyono</a></li> </ul> </div> <!--存檔--> <div id="larchives"> <h3 class="archives"><span>Archives:</span></h3> <ul> <li><a href="@cssfile=_2f175_2f175.css&page=1.htm" title="View next set of designs. AccessKey: n" accesskey="n"><span class="accesskey">n</span>ext designs »</a></li> <li><a href="../www.mezzoblue.com/zengarden/alldesigns/default.htm" title="View every submission to the Zen Garden. AccessKey: w" accesskey="w">Vie<span class="accesskey">w</span> All Designs</a></li> </ul> </div> <!--資源--> <div id="lresources"> <h3 class="resources"><span>Resources:</span></h3> <ul> <li><a href="175/175.css" title="View the source CSS file for the currently-viewed design, AccessKey: v" accesskey="v"><span class="accesskey">V</span>iew This Design’s <acronym title="Cascading Style Sheets">CSS</acronym></a></li><li><a href="../www.mezzoblue.com/zengarden/resources/default.htm" title="Links to great sites with information on using CSS. AccessKey: r" accesskey="r"><acronym title="Cascading Style Sheets">CSS</acronym> <span class="accesskey">R</span>esources</a></li> <li><a href="../www.mezzoblue.com/zengarden/faq/default.htm" title="A list of Frequently Asked Questions about the Zen Garden. AccessKey: q" accesskey="q"><acronym title="Frequently Asked Questions">FA<span class="accesskey">Q</span></acronym></a></li> <li><a href="../www.mezzoblue.com/zengarden/submit/default.htm" title="Send in your own CSS file. AccessKey: s" accesskey="s"><span class="accesskey">S</span>ubmit a Design</a></li> <li><a href="../www.mezzoblue.com/zengarden/translations/default.htm" title="View translated versions of this page. AccessKey: t" accesskey="t"><span class="accesskey">T</span>ranslations</a></li> </ul> </div> </div> </div> </div> <!-- These extra divs/spans may be used as catch-alls to add extra imagery. --> <div id="extraDiv1"><span></span></div><div id="extraDiv2"><span></span></div><div id="extraDiv3"><span></span></div> <div id="extraDiv4"><span></span></div><div id="extraDiv5"><span></span></div><div id="extraDiv6"><span></span></div> </body></html>