L
Leif K-Brooks
The said:Not exactly. If you use this example, you have to generate your CSS
dynamically for the page to work AND generate the HTML as well. Why
generate two files when one will do?
Because seperating content from presentation lets you change how every
page in your site looks without having to change every page in your
site. If your boss gets drunk and decides that he wants all headings on
the company site to have a background image of monkeys showing their
middle finger, you can do it in a few minutes if you can find the
required image. And you can change it back the next day when your boss
has sobered up just as easily.
I realize you're using some fancy tool to generate layouts
automatically, but that's pretty pointless. CSS could do pretty much the
same (if I understand your tool right) but be easier to work with, and
easier to maintain.