This year is already the third day of «nude with CSS». These days, held year, gained wide publicity, and as we resorted to the glory! In 2008, we expect to attract the attention of even more people and remember that action is scheduled for April 9.
Where podivsya my design?
The purpose of the day «the nude without CSS» is to promote Web standards. Simple and affordable. This includes the correct spelling (x) html code, semantic markup, a good hierarchical structuring of documents, and, of course, quality content. Time to bare <body>.
How to join?
Complete And for the hour your site will appear in the list of participants.
And then the ninth of April, simply remove all CSS-formatted from the site entirely denudative content and Leaving without design.
(Optional): insert the following piece of code in the mountain of each page at the appointed day:
<h3> What happened to design? </ h3> <p> To learn why this site is off formatting styles, visit <a href = "http://naked.dustindiaz.com" title = "Action promote Web standards «Annual day nude with CSS" »"> Annual day «the nude with CSS» </ a>. </ P>
At a pier proposal, those who believes that visitors must provide explanation vidimknennya CSS. It is not intended to receive traffic or earning money. This site does not have and never will be advertising. This site is about you, people who chose oholytys.
When next time?
Several people asked about the terms of appointment to the day «the nude with CSS». Here are some reasons that I guided and assign, this ninth day in April:
- Date must crouch on Tuesday, Wednesday or Thursday (the days of high traffic)
- It has appointed in early April
- It never should crouch on the first of April (April Fool's Day)
- Since the appointment date to the date must be at least five days
No doubt, oholyuytes
Here you just function in PHP
<? phpfunction is_naked_day ($ d) ( $ start = date ( 'U', mktime (-12, 0, 0, 04, $ d, date ( 'Y'))); $ end = date ( 'U', mktime (36, 0, 0, 04, $ d, date ( 'Y'))); $ z = date ( 'Z') * -1; $ now = time () + $ z; if ($ now> = $ start & & $ now <= $ end) ( return true; ) return false; ) ?>
Use it like so:
<head> ... <? php if (is_naked_day (9)) ( echo'<!-- style today canceled -->'; ) Else ( echo '<link rel="stylesheet" type="text/css" href="styles.css" />'; ) ?> ... </ head>
Tools and plugins
Developers of plug-ins. Most of last year with the Plugin rozsynhronizuvalys day «the nude with CSS». Note the above function, it will help you in development. If you wrote a plugin to a popular CMS, please Post a follow me at dustin [@] dustindiaz dot com
Link partners:


































