Question by omouse: is there such thing as a CSS compiler?
I’d like to be able to design CSS layouts using a special language that compiles back to CSS so I can avoid the messy column setups.

Is there a “programming” language that can do this?
well I want to be able to use variables for CSS properties, like this:

“someVar = 23; #id { font-size: someVar; }”

which would let me place the same variable in multiple spots. I’d also like some other programming language functionality too.

Best answer:

Answer by Silent
CSS is about as simple as it gets. It’s not a programming language.

What do you mean by “messy column setups”?

Know better? Leave your own answer in the comments!

4 thoughts on “Q&A: is there such thing as a CSS compiler?”

  1. ‘compiles back to CSS’ is confusing.

    CSS is usually interpreted by a web browser. It is possible to create a CSS file or an HTML file from a server side language.

  2. I don’t think there is, the messy column setups have to do with the fact that browsers, Internet Explorer specially, do not render the code as they should, or they use their own interpretation of CSS, in other words sometimes it’s the browser’s fault not yours.

    I suggest you use CSS frameworks like ” blueprintcss ” or “960” to avoid messiness.

  3. All you need is a program that will list the classes/ids and their values.

    Adobe GoLive! would do the trick. But I don’t think the columns are really that messy.

  4. You have no idea what you’re talking about.

    I get the idea that what you really want is some easy means of creating CSS documents. Look up some advanced HTML editors – Dreamweaver, Frontpage, NVU, etc…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.