Pregunta

I'm working with the w3c's css validator. The validator will take an html page & check all it's inline, embedded & linked CSS.

My question is - is it safe to validate all my css separately (validate the inline / embedded css without the linked css being available etc)?

To ask this another way - is there anything the validator can error check better when all the elements of the css for a page are validated together?

¿Fue útil?

Solución

The W3C validator only checks the syntax of your markup so it is fine to check CSS rules separately.

Otros consejos

I dont think there is anything that the validator could say better with all the files at once, except maybe that some of your classes or Id's in your html do not have styles in your CSS, but thats perfectly valid anyway. On a side note, why are you so worried that your page is perfectly valid?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top