Quote:
Originally Posted by deback
I'm pretty sure it won't work if you include the "em" when the value is 0. That is, the intended effect for that class will not happen if you include the "em" when the value is 0.
|
I beg to differ. It works just fine using this:
Code:
p {
text-indent: 0em;
}
Also, see the CSS specification:
Quote:
4.3.2 Lengths
Lengths refer to distance measurements.
The format of a length value (denoted by <length> in this specification) is a <number> (with or without a decimal point) immediately followed by a unit identifier (e.g., px, em, etc.). After a zero length, the unit identifier is optional.
|
https://www.w3.org/TR/CSS22/syndata.html#length-units