Tag: CSS

Master Layout: Give Your Stylesheet A Friend

23 September 2007 by Kyle

A master layout and stylesheet contains semantic, optimized, cross-browser markup that is free of redundant tags, classes and IDs, hacks, conditionals, and separate stylesheets. Learn how to use a master layout and stylesheet to reduce CSS headaches and speed up your design process.

(more…)

Master Stylesheet: The Most Useful CSS Technique

20 April 2007 by Kyle

One of the most common mistakes I see beginners and intermediates fall victim to when it comes to CSS is not removing the default browser styling. This leads to inconsistencies in the appearance of your design across browsers, and ultimately leaves a lot of designers blaming the browser. It is a misplaced blame, of course. Before you do anything else when coding a website, you should reset the styling.

(more…)

You Are Here: Using PHP To Highlight Navigation

14 April 2007 by Kyle

When you walk into a mall, one of the first things you come to is a map with a "you are here" indicator that lets you know where you are. On a website, we can accomplish this by higlighting the current location on a navigation bar, menu, or list. Since the primary navigation is the most prominent feature on a website, we will discuss an easy way to do this with PHP.

(more…)