[ZPT] some questions

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Thu, 18 Oct 2001 18:15:42 +0200


Urgh, yes correct.

I was mixing it all. Simple styles like <b> with <td> and eg the attr tag,
with the CSS style and for a strange reason I was thinking that would give a
problem, but it won't.

Thanks. At least one point of fear away :-)

tom.
----- Original Message -----
From: "Michael R. Bernstein" <webmaven@lvcm.com>
To: "Tom Deprez" <tom.deprez@uz.kuleuven.ac.be>
Cc: "Magnus Heino (Rivermen)" <magnus.heino@rivermen.se>; <zpt@zope.org>
Sent: Thursday, October 18, 2001 5:29 PM
Subject: Re: [ZPT] some questions


> On Thu, 2001-10-18 at 03:44, Tom Deprez wrote:
> > > > > * If you put your tal in an 'bold' tag and the designer wants
> > > > > to put it in a
> > > > > 'italic' tag. All the tal is probably gone? Or are the editors
cleaver
> > > > > enough to leave the tal information?
> > > >
> > > > Don't use <b>, <i>, <font> etc, use CSS.
> >
> > mmm, thinking on this again... will this solve the basic problem?
> > Can somebody show me an example of using CSS and ZPT. Will probably be a
> > nice example too.
>
> Yeah, it would. Say you decide that all paragraphs of a certain type
> (say 'answer paragraphs') need to be bolded. the designer surrounds the
> text with a <p class="answer"></p> tag. Then, the designer creates a
> stylesheet that changes the look of 'answer' class elements (either all
> of them, or just paragraphs) to bold. redefining the stylesheet will
> change the look of the page without requiring any changes to the
> template.
>
> Does that help?
>
> Michael.
>