HTML structure
Your HTML documents should comply to the structure descibed below to be compatible with WYM style. This required structure aims to be as minimalistic and generic as possible while still allowing for a very wide range of different layouts.
There is an example html file in the normal WYM style distribution. You will find it in the "sites/examples" directory.
- html
- head
- body
- div#page
- div#header
- div.wrapper
- h1
- a
- h1
- div.wrapper
- div#content
- div#content_wrapper
- div.content#main
- div .wrapper
- {main content goes here}
- div .wrapper
- div.content#sub
- div .wrapper
- {secondary content goes here}
- div .wrapper
- div.nav#nav-sec
- div .wrapper
- {local navigation goes here}
- div .wrapper
- div.content#main
- div.nav#nav-pri
- div .wrapper
- {primary navigation goes here}
- div .wrapper
- div.nav#nav-lang
- div .wrapper
- {language navigation goes here}
- div .wrapper
- div.extradiv#extradiv1
- div.extradiv#extradiv2
- div#content_wrapper
- div#footer
- div .wrapper
- div#header
- div#page