After checking the CSS1, CSS2 and HTML4 specifications, I think that no browser, be it IE6 or Mozilla get it right.

The reason is quite simple: the 'align' attribute doesn'txist anymore in CSS2, and is deprecated in HTML4.
The problem is that it should be replaced by the attribute 'text-align' in a CSS, but these two attributes dont have the same function: 'align', in HTML means 'The table is to the center of the document. '(1) and text-align in CSS means 'This property describes how inline content of a block is aligned.' (2)

So, while I'm all with using standards and all that, you may have noticed that the generated perlmonks pages are in HTML 4.01, which doesn't uses CSS2, and which supports (though in a deprecated manner) the table align attribute.

What I find really strange is that IE6 can't use the DOCTYPE of a HTML to act accordingly and not impose a displaying method (CSS2) which wasn't released when HTML 4.01 was implemented! :)

<kbd>--
my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>

In reply to Re: Re: Weirdness under IE6 by OeufMayo
in thread Weirdness under IE6 by BrentDax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.