Nicolae Daian wrote:
> Is there a way to specify the width of an element based on the width 
> of his children?

You may try...

ul.test
{
   border : solid blue;
   border-width: 4px 1px 4px 1px;
   float: left;
   margin: 0;
   padding: 0;
}

...and see if that's close enough for comfort.
Floats will shrink to the size of their content in _new_ browsers,
_unless_ they are given width/height.

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

Reply via email to