I just stumbled across a browser bug this evening that I thought you all might like to know about. So we all know that IE6/Win supports
text-align: justify, right? Wrong. Sorry, but it’s the truth: IE6 does not fully support
text-align: justify. True, it mostly supports that declaration, but if you apply said declaration to a
caption element, guess what? You get centered, non-justified text instead. It’s very much as though, in the case of
caption elements, IE6 replaces
I just thought I’d pass this along in case it might help anyone else avoid some furious head-scratching. And, I’m sorry to say, I don’t know of a workaround. If anyone finds one, please leave a comment to that effect.
This is a perfect illustration of how difficult it is to do comprehensive CSS testing. Every CSS support chart I’ve ever seen has marked down IE6 as supporting justified text; I mean, why wouldn’t they? It clearly did so… for the specific test cases used to create that support chart. The odds of a test page including a
caption element are pretty vanishingly small, unless of course we’re talking about a test page that includes every single XHTML element in existence. And to test every element known for every property-value combination… well, I’ve talked about that before. No need to trample the same ground even flatter.