Page 1 of 1

Missing class & id for body Element

Posted: Tue 27. Apr 2004, 10:59
by LANtastic
Currently you can only set a class for all elemets inside the body tag in the Layoutdefinition. You can also set the "onLoad" Event for body, but I'm missing a possibility to set id and/or class for a body element.

Could this be implemented for one of the next releases ?

Posted: Tue 27. Apr 2004, 11:34
by Jérôme
As far as I know, there is only one body element per page. What prevents you from defining in css:

Code: Select all

body { ... }
:?:

It's just a crazy thought ;).

Posted: Tue 27. Apr 2004, 20:30
by LANtastic
My current website is completly based XHTML/CSS. To realize a sort of themes, I have done this :

The part with the blog uses : id="blog"
The article part uses : id="articles"
...
...

An alternative would be to do this :

<body>
<div id="blog">That a wrapper container</div>
</body>

<body>
<div id="articles">That a wrapper container</div>
</body>

but this only means that I have to use additional code, that is absolutly not necessary.