CSS: multiple class selectors (://URLFAN)

How popular is your website?  
Enter a website above, we'll show you who's talking about it right now.
We're currently ranking the popularity of 3,783,534 websites by parsing 121,700,829 blog posts from 2,027,081 blog feeds.
Article Structure
18 paragraphs
2164 characters
0 images
0 outgoing links

CSS: multiple class selectors

Post Date: May 10, 2006 1:00 p.m.
Ranked website: freepressblog.org (Ranks #48222 of 3,783,534)

For full text please visit source:
http://freepressblog.org/2006/05/10/css-multiple-class-names/


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: Test , 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: [HT...

Content suppressed by ://URLFAN, for full article visit source

Websites mentioned in article

No websites were mentioned in article
Buzz Words mentioned in article:

No buzz words were found in article
How popular is freepressblog.org?

Click here to view stats and graphs for freepressblog.org


More posts from freepressblog.org

Once in a blue moon
From: freepressblog.org
Post Date: 2006-05-10 12:29:40

In a rare non-technical, non-political post, I thought I’d let you know that my iron was not working today. Actually, it hasn’t been working for a couple days now, but I’ve just been getting by with wearing shirts and pants that don’t necessarily need to be ironed before you wear them, but the situation was exacerbated today, because I was down to having only clean clothes remaining that require ironing. So, I’m wearing a wrinkly shirt today. PS - Don’t ev... more
So far, so good
From: freepressblog.org
Post Date: 2006-05-10 12:15:00

Four spam-free days and counting, since I implemented my new spam prevention system . This is pretty good, especially since Google just recently started indexing my site again (long story, for another time) and that has led to a lot more page views, as well as seemingly more incoming spam attempts. ... more
Dear MS: Thanks for all the bugs
From: freepressblog.org
Post Date: 2006-05-10 12:11:31

I was just thinking about this brief exchange over on Dan’s blog , as well as some recent stuff I’ve been dealing with at work, and realizing that the endless stream of Internet Explorer security vulnerabilities is actually a tremendous blessing to us web developers. Here’s why: While IE6’s implementation of web standards is still woefully inadequate, it’s certainly miles ahead of their 5.x versions, and I don’t even want to talk about any versions before... more

| Previous Article


Feeds and posts are not affliated with ://URLFAN. They are displayed here simply for informational purposes, if you would like to remove your feed, posts, or domain from ranking and analysis, please contact us.

© 2006-2008 ://URLFAN (Server 202 Generated Nov 22 08 13:26 in 0.119 secs.)

Contact Us / About ://URLFAN / Notify me when my site is added or updated. / Add my RSS feed to ://URLFAN