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.
CSS and XHTML Validation
Hey everyone,
Perhaps I am not doing this right, though every time I try to have the Lussumo Community validate (XHTML Strict and CSS) it does not. Is this because of the recent updated to Vanilla 1.0.3 - or, am I just doing something wrong? Here is the link if you would like to check yourself: CSS Validation, XHTML.
When I ran the XHTML validator on lussumo.com/community - it validates. However, when I run the validator on a topic (Getvanilla.com Bug) it does not validate and has several problems. Is there a reason it is not validating, is this just an oversight, or am I doing something wrong? Please let me know.
~Achi
Perhaps I am not doing this right, though every time I try to have the Lussumo Community validate (XHTML Strict and CSS) it does not. Is this because of the recent updated to Vanilla 1.0.3 - or, am I just doing something wrong? Here is the link if you would like to check yourself: CSS Validation, XHTML.
When I ran the XHTML validator on lussumo.com/community - it validates. However, when I run the validator on a topic (Getvanilla.com Bug) it does not validate and has several problems. Is there a reason it is not validating, is this just an oversight, or am I doing something wrong? Please let me know.
~Achi
0
This discussion has been closed.
Comments
That said i dont know how the validators work and I dont know the rules of validation so I'm just stabbing in the dark so to speak.
I want to make sure I am either doing something wrong or that Mark and whoever else that designs Vanilla, knows. I want to use Vanilla because it uses valid CSS and XHTML. I was hoping to have these pass validation and was shocked when they didn't. Is this just a oversight? Thanks.
~Achi
The short version is "do NOT use XHTML 1.1 if you serve it as text/html". Most likely, you will, because IE is not application/xml+xhtml capable, and even Mozilla/firefox is not optimized enough yet.
The minor revision number from 1.0 to 1.1 hides a breaktrough, loosing html "tag/soupe" compatibility.
Honestly, the only real difference I can see between HTML and XHTML is that in XHTML you end tags that don't require an ending tag (like <p> </p>) with a /> at the end instead of just with a >. IE handles XHTML poorly with a certain header. If you don't know what I am talking about, do a Google search for "HTTP Headers." You rarely see them, because your browser gets them from the server and then makes decisions on what to do based on them. Of course I could argue that IE also handles CSS and JavaScript poorly with any doctype or header, but that was not your question. Going with the latest version of something is not always the best idea. Sometimes an older version suits the needs of someone much better than a newer version, and there may not be a problem with that. This is most certainly the case with people who still use the older doctypes - as long as they work as intended in the browsers.
I have also had bat time figuring this out before choosing to stick to xhtml 1.0 strict.
Just be sure to respect all recommendations for html compatibility of the W3C specs and you are OK.
Personally I don't see the point in using XHTML, to me it just looks like more work. And as far as I can tell XHTML won't replace HTML 4 at any point in the forseeable future, and I would expect a wide adoptation of the WHATWG's Web Applications (which was called HTML5 for a while) and things in that direction before XHTML.
But when it comes down to it, you can pick anything you want. Point 1. you had doesn't have that much impact, look at Vanilla, it's XHTML but I would think there are very few browsers who can't handle it.
The result of good XHTML markup provides a reduction of presentational markup, speeds page loads, reduces extraneous bandwidth by caching the styles in external style sheets, is more accessible for alternative browsers or screen readers, and lays a foundation for extremely easy CSS redesigns.
The CSS Zen Garden is an ongoing showcase of what one can do with a single standards compliant XHTML web page and an infinite number of style sheets submitted by CSS designers from around the world.
Vanilla's Custom Styles offer the same exact functionality as the CSS Zen Garden.
With HTML it's certainly possible to do something similar to the CSS Zen Garden, but HTML doesn't encourage that kind of coding. HTML lets you get away with leaving some block elements unclosed, and it lets you use tables for layout purposes. Imagine if Vanilla had been released as a table-based design. It's layout properties just wouldn't be as flexible as they are.
HTML lets you omit some implicit tags, but they are just that, implicit. And you don't strictly need them. You can make really neat pages with minimal markup.
For instance, HTML doesn't cut it for Microformats. It's lack of uniformity makes it technically less semantic than XHTML from a data exchange perspective.
"XHTML is built on XML, and thus XHTML based formats can be used not only for convenient display presentation, but also for general purpose data exchange. In many ways, XHTML based formats exemplify the best of both HTML and XML worlds." —Microformats.org
Well formed HTML is XHTML. That's the whole point of writing valid XHTML — to make your markup well-formed. If you just try to write well-formed HTML, you don't exactly have a validator that's going to tell you when you left quotes off of an attribute.
That's my point as well . Very little difference.
A little off topic: How does one do the cool quote thingy?