Previous Message
Next Message

Type in px then ems

Sent by Gunlaug_Sørtun on 11 September 2007 23:11


Rick Lecoat wrote:
> I was just curious about whether pixels might become resizable if re-
>  specced in a different unit deeper into object hierarchy, ie. if the
>  em unit would override the px unit.

You will make IE/win start resizing "normally" again if you use
relative-size keywords on elements/wrappers _after_ an absolute
font-size value on body (or wherever the font-size further in is
calculated from).

An academically interesting case like...

body {font-size: 16px;}
#wrapper-1 {font-size: larger;}
#wrapper-2 {font-size: smaller;}
h1 {font-size: 1.8em;}

....may not end up with the size you intended for h1, but IE/win can
resize it.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: