Forum Moderators: open
...what is this message trying to tell me?
Might help if you posted a couple of sample <a> elements to show which ones are red and which aren't.
It is the code in "View Source" to which she/he refers rather than it's rendering
When space is lacking between attributes then the whole tag is shown in red.
Uh, didn't the remainder of my post make this clear?
And in the sample page I looked at, the entire DTD was also red
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
maybe they just don't like Transitional, period. (What the ### business is it of theirs?)
Quirky doctype. Expected "<!DOCTYPE html>".
[edited by: bill at 2:40 am (utc) on Jul 24, 2013]
[edit reason] tidy up [/edit]
Sure, you *COULD* use inline styles, but "could" and "should" are very different words.
[edited by: bill at 2:41 am (utc) on Jul 24, 2013]
[edit reason] tidy up [/edit]