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 ?
Missing class & id for body Element
As far as I know, there is only one body element per page. What prevents you from defining in css:
It's just a crazy thought
.
Code: Select all
body { ... }It's just a crazy thought
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.
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.