[nycphp-talk] OT: webmaster test
Brian O'Connor
gatzby3jr at gmail.com
Mon Apr 14 17:09:40 EDT 2008
Yes, but this would be okay:
body {
color: black;
background-color: white
}
On Mon, Apr 14, 2008 at 4:24 PM, Ken Robinson <kenrbnsn at rbnsn.com> wrote:
> Quoting Allen Shaw <ashaw at polymerdb.org>:
>
> 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;}
> >
>
> CSS only requires the semi-colon when there is more than one statement in
> the block.
>
> This is ok:
> body {
> color: black
> }
>
> This is not ok:
> body {
> color: black
> background-color: white;
> }
>
> Ken
>
>
> _______________________________________________
> 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
>
--
Brian O'Connor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080414/46b46ff9/attachment.html>
More information about the talk
mailing list