Rob Eberhardt

cleverness ensues

skip navigation

 Tuesday, April 04, 2006

Thanks to Clagnut, I'm observing CSS Naked Day on April 5th.

To know more about why styles are disabled on this website visit the Annual CSS Naked Day website for more information.

For the remaining dotText-ers out there who want this to automatically kick-in every April 5th, I just added this condition to DTP.aspx:

<%
// suspend styles on April 5 to observe CSS Naked Day - http://naked.dustindiaz.com/
DateTime dtNaked = DateTime.Today; 
if(!(dtNaked.Month==4 && dtNaked.Day==5)){
%>
		<link rel="stylesheet" type="text/css" href="/mystyles.css" />
<%
}
%>
4/4/2006 2:19 PM Eastern Daylight Time  #    Disclaimer  |  Comments [1]  | 
Tracked by:
http://www.google.com/search?q=nheqvnkt [Pingback]