I've been a busy bee again, doing my bestest to apply CSS in a logical manner to the site. Today, I factored common styles out the embedded styles in my updated pages, creating a common.css file. Now all my (updated) pages import that CSS, and add additional embedded styles as needed. One trick from Eric Meyers' book that I made use of is the "tabbed" link behavior. At the top of most of my pages (e.g. my resume) are a set of internal links. This link div has styles associated with it, including a hover style. The cool trick is to define a class called "current" and to use "the cascade" to override the normal appearance of a given link to the "current", or "selected" appearance. So, the link HTML is identical on each page, with the exception that the link that represents the current page has a class of "current". Easier to see than to explain, obviously.
Posted: Sat Sep 06 15:51:09 -0700 2003






























