"Re^2: CSV or HTML?
by tobyink on Jan 19, 2012...
.... (Illustration & other narrative, omitted. ....
The above, viewed in a standards compliant browser, in XHTML mode, will show a green paragraph. The CSS which sets it to red is commented out and ignored.
and, in the parent of this node
For the purpose of my example, any version of Opera, Mozilla or Safari released in the last decade should do, as should IE9.
Did you intend to exclude FF from your list because it doesn't satisfy your standards for "standards compliant" or simply because three examples, with a fourth as an afterthought, seemed adequate to lead the reader to infer that you mean any widely distributed browser, Y2k or a bit more recent, will fill the bill?
If so, then once again I seem to be missing something.
Using your "Illustration" xhtml, verbatim, in a file called "xhtml_test.xhtml", serving it from Xitami on a win32 box, and browsing it in what FF 9.01 claims is "Standards Compliant Mode," I see the supposedly green para in red.
Adding <meta http-equiv="Content-Type: application/xhtml+xml"> immediately after the dtd does NOT change the rendering.
Want to take another shot at pointing me in the right direction? (I hope.)
| [reply] [d/l] |
perl -MLWP::UserAgent -e'print LWP::UserAgent->new->get("http://localh
+ost/xhtml_test.xhtml")->headers->as_string'
I'm guessing you'll see Content-Type: text/html. As I said, my example is XHTML, and assumes that the page is served with the correct XHTML media type Content-Type: application/xhtml+xml. Adding a <meta> tag to the document will not make any difference.
http://buzzword.org.uk/2012/xhtml_test | [reply] [d/l] [select] |
| [reply] |