|
Posted by Jonathan N. Little on 09/27/05 07:36
dorayme wrote:
<snip>
> I don't know if it is this but I write such css like this:
> width: 2px (ie. using the unit concerned, I am not sure about
> having no space between the number and the unit, but this is how
> I do it, no space, and have achieved remarkable and beautiful
> things only half knowing what I am doing, this might be in the
> half I know...
>
> dorayme
>
From the spec:
http://www.w3.org/TR/CSS21/syndata.html#length-units
<quote>
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.
</quote>
only '0' length is units optional, and there is no space between value
and unit type.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|