> Paul Johnson wrote:
>> On Firefox, the first row does not show. I believe it "disappears"
>> because Firefox is not handling the comment markup. It disappears
>> after
>> the comment that looks like this:
>> <!-- ------------------------------ #### 2-COL 1 #### -->
>> Internet Explorer "correctly" separates the following html from the
>> comments, but Firefox (at least on my system, Firefox 3.11) sees a
>> big block of comments, all the way down to this:
>> <!-- ------------------------------#### 2-COL 2 #### -->
> You're right - that's the problem. IE is doing it wrong, they're not
> obeying the spec (go figure). Here's the reference that HTML Tidy
> showed me about it, quoted from the w3.org page:
> http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4
> ==================================================================
> 3.2.4 Comments
> HTML comments have the following syntax:
> <!-- this is a comment -->
> <!-- and so is this one,
> which occupies more than one line -->
> White space is not permitted between the markup declaration open
> delimiter("<!") and the comment open delimiter ("--"), but is
> permitted
> between the comment close delimiter ("--") and the markup declaration
> close delimiter (">"). A common error is to include a string of
> hyphens
> ("---") within a comment. Authors should avoid putting two or more
> adjacent hyphens inside comments.
> Information that appears between comments has no special meaning
> (e.g.,
> character references are not interpreted as such).
> Note that comments are markup.
> ==================================================================
> I recommend using ==== instead of ---- when you want a visual
> separator
> in your HTML code. I don't know what Chrome/Safari (aka WebKit)
> browsers will do with it, but I suspect they'll follow the spec and
> hide
> the commented parts of the table just like Firefox does. Your only
> good
> solution is to update the comments in the code.
> - Aaron
> --
> Aaron Brown :: aa...@thebrownproject.com :: www.thebrownproject.com