With the recent discussion of CSS style rules and quirks, I thought I’d mention one of my favorite CSS features that I’ve been making a lot of use of recently: multiple class selectors.
This is one CSS2 addition that isn’t mentioned much in CSS books (at least that I’ve seen), although most recent browsers do support it - all the “good” ones and IE, too.
According to the specification, you can apply multiple class attributes to any element, separated by spaces, such as:
<h1 class="title special">Test</h1>, which is useful, because then you can have separate rule definitions for title and special which you can share with any other elements on the page. If you think about it, this can serve to dramatically reduce duplication in your style sheets.
In addition, you can specify rules that only apply to elements where both classes are specified, for further control & flexibility.
So, for example, here is some code that demonstrates this: Read More »
December 29, 2005 – 11:52 am
In response to Kristi’s question here, let me outline my personal take on why everyone should use a browser other than IE…
Read More »
August 11, 2005 – 11:55 am
Research: Web Site’s Appearance Matters - By BRIAN BERGSTEIN, AP Technology Writer
Not surprisingly, male subjects tended to assign higher ratings to pages designed by men, and females preferred sites made by women. But the researchers said they gleaned important tidbits by looking more closely at the ratings.
Women seemed to like pages with more color in the background and typeface. Women also favored informal rather than posed pictures.
Men responded better to dark colors and straight, horizontal lines across a page. They also were more pleased by a three-dimensional look and images of “self-propelling” rather than stationary objects.
With those standards in mind, the researchers checked out the Web sites for 32 British universities and determined that 94 percent had a “masculine orientation.” Two percent showed a female-favored arrangement.
And the interesting question:
So should Web sites consider having two faces, one for male users and another for female visitors? Moss said more research is needed.
I’m now using WP 1.5.1.3, which I think will fix that annoying trackback issue. Let me know if you experience any errors. I need to make some slight CSS changes, but otherwise it should be pretty painless.
Don’t worry, I’m not going to start posting my bookmarks or anything, but I noticed I hadn’t done a tech post in a while, so I wanted to share this link to the CSS Zen Garden for any web people who somehow haven’t seen it yet, and remind everyone that all web devs who use tables for layout control should be fired.
I am coming to the realization that I have way to much stuff in my sidebar. It might be time to move to a 3 column layout, as well as cut some stuff out.
I am already planning on moving the links out to their own page, so they aren’t on every page (even though you can collapse them, as long as your browser supports javascript).
Any other suggestions?
Alternate title: Popup navigation is evil
Jared: Thu, 28 Apr 2005 16:29:40 -0700
I’m blogging it right now.
Dan: Thu, 28 Apr 2005 16:22:00 -0700
You should blog on this, I wouldn’t mind at all.
Here’s the full conversation, in the correct order:
Read More »
Here’s a good (up to date) browser capabilities chart, listing IE6, Firefox 1 and Opera 8.