Previous Message
Next Message

Does anyone know the diference?

Sent by Felix Miata on 26 March 2006 03:03


On 06/03/25 19:26 Jay Tanna apparently typed:

> Does anyone know the difference between the following two units of 
> measurements:

> 3em

A relative length: http://www.w3.org/TR/css3-values/#relative0
On a computer screen, this will always be the larger of the two.

> 3pt

An absolute length: http://www.w3.org/TR/css3-values/#absolute0

> This is normally used in setting margins.  I just want to know which is 
> bigger and is there a simple relation like converting from inches to 
> centimetres etc etc.

You can convert between em and pt only when you know the size of an em.
To get a feel for the meaning of these on a computer screen you might
want to play around here: http://mrmazda.no-ip.com/auth/sobjectsize.html

Note that on a computer screen, absolute lengths generally only
approximate reality. In those rare instances the system DPI matches the
device DPI then they are accurate. See: http://hsivonen.iki.fi/units/

For print styles, go with pt.
-- 
"Blessed are they whose ways are blameless, who walk according
to the law of the Lord."	        	Psalm 119:11 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/auth/auth
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: