Archived posts, September 2012

IP address-independent access to Mac virtual hosts from Parallels virtual machines

How to avoid having to edit hosts files in your Parallels virtual machines when your Mac’s IP address changes.

Posted on September 10, 2012 in Virtual Machines, Productivity

Tell CSS that JavaScript is available ASAP

When you need to apply different styling depending on the availability of JavaScript, you want to let CSS know whether JS is on or not as soon as possible during page load.

Posted on September 20, 2012 in CSS, JavaScript

Use inherit to reduce repetition of CSS property values

Instead of repeating property values in your CSS, you can use the inherit value to make an element inherit a property’s computed value from its parent.

Posted on September 27, 2012 in CSS