Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Transitional to Strict
Mark
Vanilla Staff
I just moved Vanilla 0.9.3 over from Transitional to Strict.
Make sure you hard-refresh to get the latest js and css files and be on the lookout for errors.
Make sure you hard-refresh to get the latest js and css files and be on the lookout for errors.
0
This discussion has been closed.
Comments
Hell, we could be using the HTML 4.01 DTD. I suggest you stick with XHTML 1.0 Strict served as text/html for backwards compatibility.
Having the xml prologue at the top of the document;
<?xml version="1.0" encoding="utf-8"?>
This will throw the page into 'Quirks Mode' for Internet Explorer. This will cause some issues with styling of your document versus styling for other non-IE browsers. Issues like the box model, images, centering of content using margin: auto and other weird stuff. Usually it's better to design to strict mode as you know it will look somewhat the same across the modern browsers. IE included.
Also, there is no real advantage using the xml prologue as you are not serving this document as XML to IE. It's just tag soup.
Now, you will still be able to see the content without issue, but there's no real advantage to setting up the document like this. Like nick1presta, you could use HTML 4.01 DTD, but I would stick to at least a Strict DTD.
If you are going to stick with XHTML, then you can go with XHTML 1.0 Strict. But again, IE will not currently take any advantage of this. Plus, the content-type should be defined as text/html as that is all it really is, from IE's perspective.
But, I think the bigger issue is designing for strict versus quirks mode and the design differences with IE. Something to consider.
Regards,
cb
I'm excitedly waiting to see what these guys come up with.