Nancy wrote: > Two unrelated questions. > 1. > I am working on a website that can be edited by a variety of users using a > web-based CMS. > > The CMS is rewriting inline style property values of zero. > > For example, if the inline style is entered as: > <p style="margin: 0;">whatever text</p> > > LiveWhale rewrites it as: > <p style="margin: 0pt;">whatever text</p> > > Before I inform the CMS developers that they need to correct this, I just > wanted to make sure that I am correct in saying that this is incorrect > style. > Is it? > The doctype they have chosen for the site is XHTML 1.0 Transitional.
Why should adding a unit make it incorrect ? CSS allows the simplification of "0<unit>" to "0", but doesn't forbid the widening of "0" to "0<unit>". 0px = 0pt = 0mm, etc. Philip Taylor ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
