w3c html validation error – Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections

Either: Add a heading (h1, …, h6) tag to your section element. Replace your section element with a div element. Ignore the warning. The message you’re seeing is a non-normative usage recommendation, as per the HTML5 spec (highlighting mine): The theme of each section should be identified, typically by including a heading (h1–h6 element) as … Read more

Why can’t a element contain a ?

Well I posted a comment but no love. You can achieve a W3C valid button by simply putting an image inside the button. Fiddle Granted you’ll have to create your images and add the text to them. But since you’ve already created images for the corners that shouldn’t be too hard. Also image sprites are … Read more

‘div’ inside ‘table’

<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en”> <head> <title>test</title> </head> <body> <table> <tr> <td> <div>content</div> </td> </tr> </table> </body> </html> This document was successfully checked as XHTML 1.0 Transitional!

Error: CSS: background: / is an incorrect operator

If we refer to the formal syntax: The / is the separation between background-position and background-size (this one being optional) so the correct syntax is: background: url(…) 100% 0/4% no-repeat; Where background-position:100% 0 and background-size:4% Note that background-size should always be specified with background-position when using shorthand syntax. You cannot specify the size without position … Read more

How to validate vendor prefixes in CSS like -webkit- and -moz-?

Although the syntax for vendor extensions is mentioned in the CSS3 Syntax module and introduced into the grammar to allow vendors to implement their own prefixes ignoring the standard, the actual vendor extensions themselves are not recognized as official CSS properties. This is not going to change, as they’re proprietary and specific to the vendors … Read more