Hello All,
I'm getting a strange line of code on one of my page when I view the source code on the browser.
It’s right at the top - this is the line: <!-- P[9.75] W[0] I[3] Z[0] -->
I cannot remove it since I do not know where it is coming from
I’m testing the site/page on Localhost (iis)
Any help appreciated – many thanks
strange line of code
Started by probashi, Nov 15 2009 12:14 AM
4 replies to this topic
#1
Posted 15 November 2009 - 12:14 AM
|
|
|
#2
Posted 15 November 2009 - 07:20 AM
Your not giving us much information on how to find it for you. It's just an HTML comment so nobody else will see it. If it is at the very top though it could mess up your HTML validation which may not be an issue for you.
#3
Posted 16 November 2009 - 09:05 AM
Without knowing how the HTML is generated, it's impossible to determine how it got there.
#4
Posted 16 November 2009 - 09:27 PM
Thanks guys for your reply. Found the problem:
'For debug purposes, write shipping data as hidden HTML
Response.Write vbCrlf & "<!-- P[" & totalShipPrice & "] W[" & totalShipWeight & "] I[" & totalShipItems & "] Z[" & locShipZone & "] -->" & vbCrlf
This was also messing up the layout of the site. Now fixed
Thanks both
'For debug purposes, write shipping data as hidden HTML
Response.Write vbCrlf & "<!-- P[" & totalShipPrice & "] W[" & totalShipWeight & "] I[" & totalShipItems & "] Z[" & locShipZone & "] -->" & vbCrlf
This was also messing up the layout of the site. Now fixed
Thanks both
#5
Posted 16 November 2009 - 10:24 PM


Sign In
Create Account

Back to top










