Redundancy vs. Dependency

Dave Shea describes the two different ways of dealing with CSS cascading: Redundancy vs. Dependency.

Most of the time I end up doing what Dave describes: start off with dependencies, and as a project nears the end, more and more redundancies end up in the CSS. Adding redundant CSS can really annoy the logical and structured part of me, but sometimes it does make things easier to understand. Like Dave says, that can be very important when other people will edit the CSS.

  • January 20, 2005
  • Comments closed
  • Posted in

Comments

1. January 21, 2005 by Tommy

As Eric Meyer points out, Dave is talking about cascading, not inheritance. (I was getting worried that I had misunderstood this rather vital CSS concept until I found Eric's post.)

2. January 21, 2005 by Roger Johansson

Ah. You're right. I was a bit too quick posting this and didn't stop to think about it. Thanks for pointing it out.

Sorry, comments are closed for this post.

Information, sponsorship, and externals

Subscribe

SidebarAds

Looking for web hosting?

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up!

Favourites, here and elsewhere

Affiliation

  • NetRelations
  • Kaffesnobben
  • Dagens recept
  • 9rules network member

Support this site

Show your support by buying a book or two from SitePoint or getting me something from my Amazon Wish List.