[thelist] linked css file in IE4

Hassan Schroeder hassan at webtuitive.com
Thu Mar 6 16:46:01 CST 2003


Emma Jane Hogbin wrote:

> Btw, the kind of thing same applies for HTML comments. Make sure you have a space
> between the first <!-- and the last --> i.e.
> <!-------------- won't work ------------>
> <!-- ------------fine------------ -->

Er, not that fine :-)

 From <http://www.w3.org/TR/html4/intro/sgmltut.html#idx-HTML>

<excerpt>
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.
</excerpt>

Double hyphens ("--") enclose SGML comments...

FWIW!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.






More information about the thelist mailing list