Is there an alternative to CSS?

You guys are all trying to answer the question from a programmer's perspective. I think the original poster was looking for an alternative which is more graphic-friendly - one that would offer a different concept.

Even if CSS3 gets adopted cross browser, I believe that the CSS way of laying out stuff (inline box, floats, margins, etc) is awful. I am a programmer, but my father is a graphic designer, and I am pretty sure that the layout software they were using 20 years was in some aspects easier and more advanced than CSS.


CSS is the only real option.

Browser support for CSS should not be a major concern (in most cases) once you learn the ins & outs of CSS. The key to understand about CSS is that its purpose is to define the style of an HTML document and it should be separate from the content.

You'll need practice in learning how to make things degrade gracefully in browsers that don't support features. The basic idea here is that you should make the lowest common denominator (Internet Explorer usually) work "good enough" that it doesn't take away from the user experience, and provide the niceties for users with better browsers. Also, don't develop for Internet Explorer first. Leave it until last, then fix its bugs. Doing things the other way around (IE first) is much harder.

You also have the option of using JavaScript to set styles, but that is not recommended because you should avoid applying styles within JavaScript since JavaScript is meant for logic, not styles.

There are 3 (depending how you look at it) components to a web page:

  • HTML - for content
  • CSS - for styling your content
  • JavaScript - for applying additional or dynamic logic to your content