HTML5 Markup in Templates
I noticed that when trying to use newer HTML5 markup for templates, things get switched around, changed, and moved. Is this a known problem with v6.4.6?
I've attached a comparison of the beginning of my template with the rendered page. The CSS is moved into the body and the doctype is removed.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by ryan.griffith on 11 Nov, 2010 01:46 PM
So I was playing around a bit and found if you put the doctype in all caps, DOCTYPE, the regions won't be moved around. That being said; however, the DOCTYPE is still removed from the beginning of the template, see screenshot.
2 Posted by Eric L. Epps on 11 Nov, 2010 02:41 PM
This is how I use the HTML5 doctype. Seems to work just fine. START-CODE should work as well.
3 Posted by ryan.griffith on 11 Nov, 2010 02:56 PM
Ah, that makes sense. I was thinking the template required a doctype to be specified, but after submitting again I noticed it's not even needed as long as you specify the root html tag.
Support Staff 4 Posted by Tim on 11 Nov, 2010 03:06 PM
Eric,
Thanks for posting that workaround. We are planning on providing native support for HTML5 in a future release.
Tim closed this discussion on 11 Nov, 2010 03:06 PM.