You know you could use the asterisk selector, right?


.this.project:not(.awesome){
font-style: bold;
}

Posted in XHTML and CSS | Leave a comment

Some functions are much clearer than others

function managers(){

var opinions = “bullcrap”;

body.unload(opinions);

}

Posted in Javascript | Leave a comment

the real miracle is in the stack trace

for(int i=1; i < 9; i++) {
hanukkahCandle(i).lightCandle(shamash);
}

courtesy of David Dewell

Posted in Code Lols | Leave a comment

If divs are collapsible, are Ps sinkable?

<p class="titanic">
.titanic {float:none}

Courtesy of @saismo

Posted in Code Lols | Leave a comment

Why yes, I do have some comments

<body>

<div id=”body”> <!–body–>

<div id=”page”><!–page–>

<div id=”wrapper”><!–wrapper–>

<div id=”inside-wrapper”><!–inside wrapper. I use this for the wrapper that’s inside wrapper–>

<div id=”outer-inside-wrapper”><!–this is the wrapper inside the inside wrapper but outside the inner inside wrapper–>

<div id=”inner-inside-wrapper”><!–this is inside the outer inside wrapper that’s inside the inside wrapper –>

<div id=”inside-lining”><!–this div  is inside the inner outer inside wrapper that’s inside the inside wrapper–>

<div id=”insulation”> <!- this div is protecting the inside of the inside inner outer inside wrapper that’s inside the page wrapper–>

<div id=”h1″><!–wrapping up that h1–>

<h1>Hello World</h1>

 

Posted in Code Lols | Leave a comment

Apple is really getting out of hand

<iFrame src=”http://apple.com” class=”magic”></iFrame>

Posted in Code Lols | Leave a comment

Daniel-san asks Mr. Miagi some dumb questions sometimes

dojo.query(“.are-classes-better-than [type=text]“.style(“display”, “d’oh!”);

 

Posted in Javascript | Tagged , | Leave a comment

And A coder, too, apparently

<br />Dancer

 

Posted in Code Lols | Leave a comment

Which, by the way, is still in the code

<details>

<p>The Devil</p>

</details>

Posted in Code Lols | Leave a comment

Dude, what?

<h1>Best practices for celebrity code</h1>
<pre>  <code><p>  <dude>Jeff Bridges</dude></p>  </code></pre>
<p>Q: Is <code>dude</code> a block element and can it be nested in a <code>p</code> element according to valid HTML6?</p>

Posted in Code Lols | Leave a comment