Ticket #139 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Style error in XHTML 1.0 pass message

Reported by: robert@… Owned by: jean-gui
Priority: major Milestone:
Component: Core Version:
Keywords: XHTML Validation Style Cc:

Description

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>

Attachments

Change History

Changed 3 years ago by jean-gui

  • owner set to jean-gui
  • status changed from new to assigned

Changed 3 years ago by jean-gui

  • status changed from assigned to closed
  • resolution set to fixed

Fixed. I also added "border:0"

Add/Change #139 (Style error in XHTML 1.0 pass message)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.