Re: [WSG] Comment mark

2007-12-11 Thread Ben Buchanan
 For an HTML comment, you should use !-- ... -- (no ! in the closing
tag). The reason it worked in
 Firefox is that it interprets *any* instance of -- as a closing comment
tag. As far as I know,
 all other browsers will wait until they get the standard --.
 Firefox gets it right since these (--) are the comment delimeters.
 ! and  are markup declaration delimiters.

True, although I see it as one of those times that it's right in the
strict technical sense rather than a practical sense :) In general usage I
think it's reasonable to expect the closing delimiter.

cheers,
Ben

-- 
--- http://weblog.200ok.com.au/
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Comment mark

2007-12-11 Thread Michael Horowitz
Ultimately IE is right in that you can never tell a client their site 
doesn't work in IE but it fits the written technical standards. A client 
will always prefer a non web standard site that works in IE to one that 
is technically correct but errors out in the worlds most popular browser.


Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Ben Buchanan wrote:


 For an HTML comment, you should use !-- ... -- (no ! in the 
closing tag). The reason it worked in
 Firefox is that it interprets *any* instance of -- as a closing 
comment tag. As far as I know,

 all other browsers will wait until they get the standard --.
 Firefox gets it right since these (--) are the comment delimeters.
 ! and  are markup declaration delimiters.

True, although I see it as one of those times that it's right in the 
strict technical sense rather than a practical sense :) In general 
usage I think it's reasonable to expect the closing delimiter.


cheers,
Ben

--
--- http://weblog.200ok.com.au/
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*** 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Comment mark

2007-12-10 Thread Hayden's Harness Attachment
Matthew
Thank you for the help.

Angus



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Comment mark

2007-12-10 Thread Ben Buchanan
On 10/12/2007, Hayden's Harness Attachment [EMAIL PROTECTED] wrote:

 I would like to appologize if I am off topic. I am not sure who to ask. I
 am using !-- ... --! to comment out a line in a PHP file. Firefox2.xwill 
 use it to comment out a link and IE7 will not use. Am I doing the
 commenting a line out right?


For an HTML comment, you should use !-- ... -- (no ! in the closing tag).
The reason it worked in Firefox is that it interprets *any* instance of --
as a closing comment tag. As far as I know, all other browsers will wait
until they get the standard --.

cheers,
Ben

-- 
--- http://weblog.200ok.com.au/
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

RE: [WSG] Comment mark

2007-12-10 Thread Thierry Koblentz
 I would like to appologize if I am off topic. I am not sure who to ask. I
am using !-- ... --!

 to comment out a line in a PHP file. Firefox2.x will use it to comment
out a link and IE7 will not use. 

 Am I doing the commenting a line out right? 

 

 For an HTML comment, you should use !-- ... -- (no ! in the closing
tag). The reason it worked in 

 Firefox is that it interprets *any* instance of -- as a closing comment
tag. As far as I know, 

 all other browsers will wait until they get the standard --. 



Firefox gets it right since these (--) are the  comment delimeters.  !
and  are markup declaration delimiters. 

 

http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4

 

-- 

Regards,

Thierry | http://www.TJKDesign.com

 

 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Comment mark

2007-12-09 Thread krugonN
To comment a line in PHP code you should use // or you can comment a block
using /* */

Gonzalo González Mora

On Dec 10, 2007 2:40 AM, Hayden's Harness Attachment [EMAIL PROTECTED]
wrote:

 I would like to appologize if I am off topic. I am not sure who to ask. I
 am using !-- ... --! to comment out a line in a PHP file. Firefox2.xwill 
 use it to comment out a link and IE7 will not use. Am I doing the
 commenting a line out right?
 Angus



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Comment mark

2007-12-09 Thread John Faulds

It should be: !-- ... -- (no 2nd !).

On Mon, 10 Dec 2007 15:40:52 +1000, Hayden's Harness Attachment  
[EMAIL PROTECTED] wrote:



!-- ... --!




--
Tyssen Design
www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Comment mark

2007-12-09 Thread Matthew Pennell
On 12/10/07, krugonN [EMAIL PROTECTED] wrote:

 To comment a line in PHP code you should use // or you can comment a block
 using /* */


Or you can also use an octothorpe: # to comment out a single line in PHP.

- Matthew


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Comment mark

2007-12-09 Thread krugonN
Thanks, I didn't know that, I'm very knew to PHP :D

Gonzalo González Mora

On Dec 10, 2007 3:44 AM, Matthew Pennell [EMAIL PROTECTED] wrote:

 On 12/10/07, krugonN [EMAIL PROTECTED] wrote:
 
  To comment a line in PHP code you should use // or you can comment a
  block using /* */
 

 Or you can also use an octothorpe: # to comment out a single line in PHP.

 - Matthew

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***