David Harrison
09-05-2003, 06:04 PM
OK, I have made a style sheet changer for my web-site with ASP, and this means that it has to write the link to a style sheet. So far no problems, I have this:
<%= "<link rel='stylesheet' type='text/css' href='../ss/a_style.css' title='A Title' />" %>
You may have noticed the / at the end, I'm using XHTML 1.1, this means that all attribute values have to be double quoted and yet the above code writes the link with single quoted attribute values.
So a simple question, how do I write double quotes? If it were JavaScript I would put \" to escape the quote, so is there a special character like this for VBScript?
<%= "<link rel='stylesheet' type='text/css' href='../ss/a_style.css' title='A Title' />" %>
You may have noticed the / at the end, I'm using XHTML 1.1, this means that all attribute values have to be double quoted and yet the above code writes the link with single quoted attribute values.
So a simple question, how do I write double quotes? If it were JavaScript I would put \" to escape the quote, so is there a special character like this for VBScript?