You are here: Re: Sucking mozillas... « HTML « IT news, forums, messages
Re: Sucking mozillas...

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация