Spring Sale! Save $10 on The Tao of WordPress and book bundles with Digging Into WP and .htaccess made easy – Coupon code: Spring2014Get books »
expression
Tag Archive

Beware of Margins or Padding when Using the min-width Hack for IE

While we all watch as Internet Explorer 6 dies a slow, painful death, many unfortunate designers and developers continue to find themselves dealing with IE6’s lack of support for simple things like minimum and maximum widths. Fortunately, there are solutions to this problem, primarily in the form of CSS expressions such as this: /* set the minimum width for IE 6 */ #target_element { width: expression((document.body.clientWidth < 335)? “333px” : “auto”); /* min-width for IE6 */ min-width: 333px; /* min-width for all standards-compliant browsers */ } Although ugly, invalid, and resource-intensive, this technique works well at setting min-width properties for […] Read more »

CSS Hackz Series: Minimum Width, Maximum Width for Internet Explorer 6

Opening the CSS Hackz series is the infamous CSS-expression hack for achieving minimum and maximum widths in Internet Explorer 6. Here is how to set the maximum width for IE 6: #target_element { width: expression((document.body.clientWidth > 778)? “777px” : “auto”); max-width: 777px; } Here is how to set the minimum width for IE 6: #target_element { width: expression((document.body.clientWidth < 335)? “333px” : “auto”); min-width: 333px; } Read more »

Creative Balance

I have been drawing and sketching for over thirty years. The process of setting up for art, developing ideas, and letting the pens flow, really gets my juices flowing. Once that flow hits, and the music fades, hours disappear, manifesting imagination. This process is so familiar as to happen automatically, as a natural consequence of internal inspiration, artistic creativity, and the desire to express the subjective experience of my subconscious mind. Another important aspect of exercising a creative lifestyle involves the observation and study of the natural world. Drawing from nature, or the practice of representational translationalism, serves this purpose […] Read more »

Latest Tweets Plug-n-play snippet to backup and restore theme options: digwp.com/2014/04/backup-resto… #wordpress