[ 3 posts ]

chrispeckham

  • Joined: Thu Jul 22, 2010 2:27 am
  • Posts: 2
  • Offline
  • Profile
Tags:

YUI 3: CSS Reset not validating

Post Posted: Thu Jul 22, 2010 2:31 am
+0-
I'm seeing that the W3C CSS validator is struggling with:

input,textarea,select{*font-size:100%;}

Should the * really be there? Sorry if this is an old question - I didn't find an answer elsewhere.

Thanks,
Chris

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile

Re: YUI 3: CSS Reset not validating

Post Posted: Thu Jul 22, 2010 4:43 am
+0-
It has to be there. It is not proper CSS though, but a hack to make different versions of IE to work. Standard browsers will ignore such a line, IE will not and so certain inconsistencies in IE can be compensated for.

chrispeckham

  • Joined: Thu Jul 22, 2010 2:27 am
  • Posts: 2
  • Offline
  • Profile

Re: YUI 3: CSS Reset not validating

Post Posted: Thu Jul 22, 2010 6:08 am
+0-
Thanks Satyam - that explains it.
C
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum