Imighthave toexplain myselfa little better:-) I'd liketo add aclasson myouterdivin mymastertemplate. Thisclassshallcontainthe name of thetemplate /DOCTYPEof the page.
Let us say I have 2 templates (contact and subpage) . When I create a page I choose a docType - lets say "contact". Now in my html I'd like the class to contain the docTypes name. like this
<head> ... </head> <body> <divid="wrapper"class="contact"> <!--This is the class im talking about :-)--> ... rest of the content </div> </body>
and if it's a subpage the class shouldcontain the word "subpage"
insert the name of doctype on my master template
Hi
I need to insert the name of doctypen on my master template.
How do I do that?
Thanks in advance
/Kate
I might have to explain myself a little better :-)
I'd like to add a class on my outer div in my master template.
This class shall contain the name of the template / DOCTYPE of the page.
Let us say I have 2 templates (contact and subpage) . When I create a page I choose a docType - lets say "contact". Now in my html I'd like the class to contain the docTypes name. like this
and if it's a subpage the class should contain the word "subpage"
hope it makes a little more sense :-)
/Kate
is working on a reply...