plasticwrapper

design and development for the web


CSS

Javascript Styles

Sunday, August 2nd, 2009

Here's a quick tip for anyone trying to maintain graceful degradation of javascript. Keep all your javascript-dependent styles in a separate stylesheet and use javascript to load those styles immediately in the head of the document.

Read the rest of this »

An experiment with relative units

Wednesday, January 23rd, 2008

I had this great idea to test out relative units. What if you defined the body's font-size based off of the window's width (or height). So, now you've got a dynamic font-size setting for the body tag... big deal, right? Absolutely!

With a little DOM-Scripting, some creative CSS, and a little elbow grease, we can make a fully scalable page!

Read the rest of this »

Organizing CSS Files

Thursday, November 15th, 2007

Every designer has their own way of formatting and organizing style sheets. Let's take a look at a few different methods. Technically, there is no correct solution. But, depending on the project at hand, you may decide to choose one method over another.

Read the rest of this »

Categories

Recommended Materials