a companion discussion area for blog.codinghorror.com

What's Wrong With CSS


Heh heh, Jeff, you are slowly but surely coming over to the Ruby Dark Side…


May I suggest this feature as well:

#header {
-moz-border-radius, -webkit-border-radius, border-radius: 5;


Some of this has already been said, but…

There are a few things people regularly overlook about CSS:

  1. Multiple selectors can have attributes assigned to them in the same block.
  2. To go along with 1, selectors can have attributes assigned in multiple locations in the same (or different) stylesheet files.
  3. HTML elements can have more than one class. I’ll repeat this, as this is often misunderstood. HTML elements can have more than one class. class=“there are four classes” is a class attribute with 4 different, space-separated classes. Attributes assigned to those four classes will be applied to the element with that class attribute.


Chris Eppstein, one of the Sass developers and creator of Compass, has written an excellent article on refactoring the digg.com stylesheet using Sass:


It demonstrates how an already well crafter stylesheet can be very much improved in several ways. Definitely a must-read!

Chris also has a bunch of other great articles addressing not just the how of Sass and CSS generally, but also the why:



Ok just a thought, but if it is that much of a problem couldn’t you write an app to simplify the creation of the CSS, or is that just crazy.


I think instead of switching over to Less or Sass, its high time we developers start using CSS in the right way. Its lack of knowledge on our part most of the times that causes problems.


Then you can see more good movies about hotels at this link.

Bu sitede birçok filmi hd izleyebilirsiniz.

hd film izle


CSS the best way to keep the content separate from the design, this is good, because this way search engines can find easier your page. For instance, if your page have all the styles within the html, it would be harder for google to read your page and not send you to higher places in the list of the results.

And sometimes css can simplify your job or make it more efficient as you don’t have to worry too much for the design because it can be handled by a designer, it is easier to distribute the job and you don’t have to spend more hours at the computer as i explain in my blog.

Visit me at www.oscarvgg.com


CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

<a href=http://www.helpgurus.com> PC technical support