martin f krafft wrote: > http://seamus.madduck.net/~madduck/abacons6/leistungen/1.html > http://seamus.madduck.net/~madduck/abacons6/css/screen.css > > If you look at the top menu bar as well as the subcategories below > the page's <h1>, you'll see how the vertical padding on the <a> > elements (as well as <li.current>) I was using to try to make the > navigation bars a bit thicker doesn't actually do what I want. > > How can I ensure that the <ul> (which has the outside border) > stretches vertically to accomodate the taller <li> elements it > contains? >
Give the ul the same amount of top and bottom padding. That's how padding works on inline elements -- it pushes out content to the left and right, but not above and below. The linebox doesn't expand to hold that padding. So you have to expand the linebox yourself. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/