Closed russkel closed 5 years ago
maybe two directives?
.. header: something here
.. footer: same
or maybe I didn't got the message :P
or you mean that header/footer on html5 and rst mean different things?
or you mean that header/footer on html5 and rst mean different things?
Yes, that is what I mean. If you read the page in the HTML5 spec..... which I just did.... and now I am confused :confused:.
http://developers.whatwg.org/sections.html#the-header-element and http://www.w3.org/TR/html5/sections.html#the-header-element
Their examples show usage of both.
<body>
<header>My Site Woo</header>
.... content ....
<footer>Copyright blah blah</footer>
</body>
and the other style (which #30 implemented):
<body>
<article>
<header>Article Title</header>
.... content ....
<footer>What ever would go in an article footer</footer>
</article>
</body>
Both ways might actually be correct. I'll need to ask around.
More information here: http://diveintohtml5.info/semantics.html#footer-element
I want full HEIGHT/width responsive for mobile. HOW TO FIX IT?
The RST elements header and footer are for placing markup at the, believe it or not, header and footer of the site. There is no real specifics on the implementation on this. I guess it could just be a
div.header
after the docinfo table anddiv.footer
at the end of the page.Pull request #30 handles the HTML5
header
element. Seeing as there is no way to define a section footer in RST, the HTML5footer
element isn't required.