Closed vivienlacourba closed 8 years ago
Reported by robert on 7 Aug 2010 14:38 UTC After testing an XHTML 1.0 page in unicorn, there is a style error in the congratulatory message
The code to be pasted (copy paste) message suggests:
<p> <a href="http://validator.w3.org/check?uri=referer"> <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" style="height: 31; width: 88;" /> </a> </p>
Pasting this into the page, and revalidating in Unicorn generates a ''This document has not passed the test: W3C CSS Validator (Level 2.1)'' warning
This would be better:
<p> <a href="http://validator.w3.org/check?uri=referer"> <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" style="height: 31px; width: 88px;" /> </a> </p>
Note '''''px''''' added to both height and width in style.
As a matter of personal taste, I'd resize the border to 0 (zero), for consistency with the CSS validator congratulations:
<p> <a href="http://validator.w3.org/check?uri=referer"> <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" style="border: 0; height: 31px; width: 88px;" /> </a> </p>
Comment by jean-gui on 17 Aug 2010 15:55 UTC Fixed. I also added "border:0"
Reported by robert on 7 Aug 2010 14:38 UTC After testing an XHTML 1.0 page in unicorn, there is a style error in the congratulatory message
The code to be pasted (copy paste) message suggests:
Pasting this into the page, and revalidating in Unicorn generates a ''This document has not passed the test: W3C CSS Validator (Level 2.1)'' warning
This would be better:
Note '''''px''''' added to both height and width in style.
As a matter of personal taste, I'd resize the border to 0 (zero), for consistency with the CSS validator congratulations: