Yes, but this would be okay: body { color: black; background-color: white }
On Mon, Apr 14, 2008 at 4:24 PM, Ken Robinson <[EMAIL PROTECTED]> wrote: > Quoting Allen Shaw <[EMAIL PROTECTED]>: > > 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
_______________________________________________ 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