|
Posted by David Dorward on 02/16/06 20:49
"H. Mäki" wrote:
> Can I center div-tag somehow if I want to define div width in pixels?
http://dorward.me.uk/www/centre/
> If I define left, right and width in percents it works, but then I can't
> define minimum width? (what "min-width" does anyway?)
Min-width, which is not supported by IE, defines a minimum width and takes
priority over the width property. For example:
width: 20em;
min-width: 150px;
Would create an element 20em wide, unless the font was small enough that
20em was less than 150px, in which case it would be 150px instead.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|