-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Steve Bennett wrote:
On 8/12/06, Timwi timwi@gmx.net wrote:
You do that using <div class='some_name'>. This allows you to specify the actual style (font, color, etc.) in the CSS, which is much more of a "template" in its literal meaning than {{...}} is.
What exactly do you mean by "the CSS". If one refers to a new class in a page, where does one define it? At the top of the page? In some other .css file?
Maybe something like this would work:
<div {{template}}> ... </div>
or even: <{{template open}}> <{{template close}}>
Haven't tried them though.
Technically speaking, the gobs of style information we find in lots of infoboxes and stuff should be tucked away in Common.css, unfortunantely, the average editor is not well versed enough to do something like that.
The quick-n-dirty way is to do something like <div style="background:grey;">. The correct way would be to get an admin to define a contextually correct class name to use, like <div style="nameofblock"> that's independent of how it's going to be styled.