Hey Allen Shaw,
Andr� Pitanga wrote:
4) Which is the correct CSS syntax?
a) body {color: black}
b) body:color=black
c) {body:color=black}
d) {body color:black}
Doesn't correct CSS syntax require a semicolon?
body {color: black;}
- Allen
According to http://www.w3.org/TR/CSS21/syndata.html you are right.
It states that "A declaration block starts with a left curly brace ({)
and ends with the matching right curly brace (}). In between there must
be a list of zero or more semicolon-separated (;) declarations."
But...
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php