Archive for the ‘ CSS ’ Category

Interesting Links

…well, at least I found them interesting. Your mileage may vary.

  • Typographer’s Glossary
    All you ever wanted to know about typography, and more. I really need to read through this in its entirety at some point.
  • Using Modernizr…
    Modernizr is a javascript library that detects CSS and HTML5 functionality. Neat way to develop a page that doesn’t waste resources on things that won’t show up anyways.
  • HTML5 Async Scripts
    I need to test this and see which browsers this helps on, but if speeding up sites is this easy, that is a win for everyone. (Or maybe I should have kept this a secret to make my skills in more demand…Meh – not my style.)
  • How Cowbird Transforms Storytelling on the Web
    Never heard of cowbird before but they have a pretty cool presentation.
  • No ‘pull-to-refresh’ in native iOS apps
    The pull-to-refresh function was patented by Tweetie, which was later purchased by Twitter. Hope they don’t go after indie developers with big lawyers!

Stylesheet Mahem

Just finished up redesigning my 4th site in the past 5 weeks (along with 4 relocations and 2 migrations). I love starting with a brand new template and coding something very clean and neat, however sometimes it is just better to update existing templates. Anyone who has reworked templates for a major set of changes knows that sometimes it feels like things are messy and out of control.  Especially with stylesheets.

I still have not found a decent way to order classes in a stylesheet that makes any sense (and is maintainable) but search functions make that passable. However, I still cannot help but feel like the stylesheet is messy since I really have no idea which classes I’ve obsoleted vs. which classes are still used by some obscure template I never touched.  I’ve always been meaning to find a better solution to this then my usual method: <i>leave them all there – just in case</i>.  A clean and tidy stylesheet reduces server load and is easier to maintain.

So instead of doing the work I was supposed to be doing today, I goofed off and coded a little stylesheet analysis program.  The idea is pretty simple: Read the rest of this entry »