After a zero length, the unit identifier is optional. http://www.w3.org/TR/2005/WD-CSS21-20050613/syndata.html#length-units
> -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > discuss.org] Im Auftrag von Kim Kruse > Gesendet: Mittwoch, 27. Juli 2005 21:38 > An: CSS-d > Betreff: Re: [css-d] Question concerning use of 0px > > 0 is 0 and therefore 0px should be written as 0... I think :-) > > Kim > > Peach Lynda L Contr 96 CG/SCTOA wrote: > > >What is the recommended value for setting 0 in such CSS settings as > padding > >or margin? > > > >Should it be margin: 0px; padding: 0px; > > > >or margin: 0; padding 0; > > > >And does it matter if it is px or not when all four sides are set > >individually as in padding: 3px 0 5px 0; > > Or should it be padding: 3px 0px 5px 0px; > > > >Lynda Peach > > > >______________________________________________________________________ > >css-discuss [EMAIL PROTECTED] > >http://www.css-discuss.org/mailman/listinfo/css-d > >List wiki/FAQ -- http://css-discuss.incutio.com/ > >Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > > > > > > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
