Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Dec 11, 2008

Recent Blog Comments By Webmaster

  • Easy Print CSS Integration - NoPrint (Thanks Rick Osborne!)

    Posted on Feb 27, 2008 at 8:10 AM

    Making the association There are a variety of ways to associate media-specific stylesheets with a document. The most familiar way is to use the LINK element and simply add the media attribute: <link rel="stylesheet" type"text/css" href="print.css" media="print"> In the previous example... read more »

  • Javascript Will Assign And Test A Variable In The Same Statement

    Posted on Feb 22, 2008 at 5:54 AM

    I have tried to lay this different, to broke it into CSS avascript: document.body.onload = function(){ var objHeader = document.getElementById("header"); objHeader.outerHTML+='<script>window.onresize=document.getElementById("main").style.width="772px";</script>'; } <!--[if IE]> &... read more »