Re: Question about CSS definitions



..oO(John Hosking)

Michael Fesser wrote:

I change the template which is used to build the HTML. The final HTML
code for my images is script-generated with automatically added links to
a bigger version of the image and a caption text below it if available:

<p>hello world ...
{cmp:image;path=/foo,fileName=bar,descr=some caption text,align=right}
</p>

Hey, what a minute; that's cheating! Creating your pages programatically
isn't allowed, is it? That'd make it too easy.

It was not forbidden.

Nuts. I thought maybe you had discovered some way to make colgroup
fulfill my secret fantasies.

Nope. Well, you could use JavaScript ... *duck&run*

I know and I have my reasons for that. I also said that these 5 classes
are more or less my only exceptions and mostly used internally for
script-generated content and templates.

So do I understand correctly, that you have to run your scripts to
rebuild all your pages every time you want to revise the presentation?
Or just when reworking the look in a way that involves these 5 classes?

My pages are not static. They are always generated by scripts because of
various dynamic components (user login for example). Any changes to the
stylesheets or templates take effect immediately.

Micha
.