Hi Chris,
You need to escape any with
amp;(even in URL query strings). Links to the relevant
files/validator results would help so we could see the code.
P
From: Chris Stratford
[mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004
1:01 PMTo: Web Standards
The other suggestion is to validate the CSS file(s)
separately at http://jigsaw.w3.org/css-validator/validator-uri.htmlrather
than parsing the xhtml for the linked files.
P
I have an
interesting problem here...i try and validate the CSS of my XHTML
website...and the CSS page says i
It's good practice to do it for (amp;) and (quot;) in the text all the
time (HTML or XHTML).
Also be aware of em-dashes, en-dashes, epsilons (...) and the curly
varieties of and ' (which I hate and always strip back to the plain text
version).
If it's your own blog software, make sure to
me and I will learn
-Original Message-
From: Peter Firminger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 February 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] Problem Validating CSS
It's good practice to do it for (amp;) and (quot;) in the text all the
time (HTML or XHTML
Peter Firminger wrote:
Sorry, I don't do PHP. Someone else may have a PHP solution for you.
P
I think I did a pretty long post a while back on this subject -
probably good to search for it in the archive.
Anyway, the PHP way to do the CF in Peter's example is:
$newString =
I beg of you, don't discard the 'curly varieties' - they are the typographical correct apostrophes. The non-curly versions are an ugly pox on mankind and should only be used to delineate feet and inches.
Peter
On 11/02/2004, at 2:30 PM, Peter Firminger wrote:
Also be aware of em-dashes,
Thats great thanks!
:)
There are a whole bunch of PHP tags available to use...
Thanks for that tho :)
Your advice has helped me a lot :D
cheers Pete!
Chris Stratford
[EMAIL PROTECTED]
Http://www.neester.com
Peter Firminger wrote:
It's good practice to do it for (amp;) and " (quot;)
On Wednesday, February 11, 2004, at 02:30 PM, Peter Firminger wrote:
Also be aware of em-dashes, en-dashes, epsilons (...) and the curly
varieties of and ' (which I hate and always strip back to the plain
text
version).
I've found that the entities mdash; and ndash; don't work in older
I've found that the entities mdash; and ndash; don't work in older
browsers (like NN4), so best use the numeric entities:
em-dash = #8212;
en-dash = #8211;
I agree entirely Justin. Sorry I didn't point that out.
elispes (not epsilons) = #8230;
Oops,
Naw, I can live with the three dot thing ;)
P
But I'd rather stick with 3 dots (...) as I have seen this one break badly
in a search result or text browser or something, can't remember where now.
May just be a stubborn bad habit. Sorry if that worries Peter (UH) as well.
x-tad-bigger
10 matches
Mail list logo