Blog

From Photoshop to Drupal 6 Theme - Step by Step Part II Getting Started with CSS

In our last installment, we started out with good clean semantic and valid xhtml. This sets us up nicely to get started with CSS. To day we will cover these CSS topics:

  • Linking to a stylesheet
  • Setting the default font size
  • Centering the design in the browser window
  • Using a background image

Let's get started. Last time the header area of out html document looked like this:

From Photoshop to Drupal 6 Theme - Step by Step

Step One: Semantic HTML

This is part one in a series designed to show you how to go from photoshop mockup to Drupal theme step by step. In the process we will produce a full blown tutorial and a working Drupal theme that we will submit it to the themes repository on drupal.org. If the the tutorial is popular enough - I may even make an on demand print version available.

Good clean, valid xhtml is a must when starting your theme.

Note: there are two common ways to make a theme in Drupal. The first method is to start with stater theme like Zen. Here, most of the Drupal parts are set up but the theme is plain. You work your custom images, colors and CSS into an existing theme until you have it looking good.

Some of my favorite Mac apps.

So a few people I know are getting Macs for the first time and I thought I'd post a few of my favorite Mac apps (fun apps, not so much productivity apps).

In no particular order:

  1. Library Books: http://haroldchu.id.au/?q=node/2. Netflix style queue for the public library. Free
  2. Firefox (obviously) http://www.mozilla.com/en-US/firefox
  3. iTivo: lets you download shows from a Series 2 Tivo and convert to iPod/iPhone format. Free

Applecore ATV Flash Review

Applecore LLC has made an easy installer to aid you in hacking your AppleTV. It promises you a Safari or Web-Kit based browser with Flash enabled, opens many more codecs to allow more kinds of video playback and more.

I found it to be a mixed bag. My hopes were to be able to play files recorded off El Gato's EyeTV Digital Hybrid (terrestrial Hi Def broadcast TV) and watch flash video from Hulu and Abc.com.

Well I'm one for three - more like a half for three really.

Thoughts on CSS Best Practices

Regardless of what kind of Web development you are doing, you will always need to work with CSS before launching your site. I've been reflecting on best practices in CSS lately. So here is my list of best practices. This is not by any means a complete list or the gold standard for CSS development. This is just what I have learned so far (although I doubt many would find any of these statements controversial). Feel free to add your ideas in the comments.