I am trying to make a horizontal button component for my web site, that is in essence a dl list with each dd entry containing multiple divs to give a 3D effect to the button and immediate surround.
I would like the area surrounding the buttons to be a uniform pastel colour with a single black border round everything. However, although I can probably make each button a fixed width(it would be better if not) , the number of buttons will vary from use to use, and of consquence I can't use a width value on the surrounding element. As far as I see, if you don't specify a width divs expand outwards to fit in the available space. Is there any trick I could use to give a shrink wrap effect - where a div shrinks to the size of the inner elements + padding? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. ______________________________________________________________________ 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/