Re: Error on -- in a comment

On 3 Apr 2008, at 09:06, vincent RABOT wrote:
>
> <!--[if lte IE 6]>

<! starts the comment declaration.
-- delimits the comment, in this instance it starts the comment

> <div id="A1949 class="boite boite_F " style="width:34.5mm; height: 
> 46.5mm; left:158.25mm; top:324.25mm;" title="NGUYEN--RABOT ; ° 2001">

-- delimits the comment, in this instance it ends the comment
RABOT is therefore inside the comment declaration and outside the  
comment, which is an error.


"Authors should avoid putting two or more adjacent hyphens inside  
comments."
  -- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4



-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Thursday, 3 April 2008 13:21:06 UTC