Re: [css-d] not stretching to accomodate inline element heights

2007-01-27 Thread martin f krafft
also sprach Ed Seehouse <[EMAIL PROTECTED]> [2007.01.26.2205 +]: > But I suggest it's better to do it by floating the li elements left. > That's much more flexible for styling purposes, and if you do that you > should make the a elements render as blocks as suggested in my > original reply. B

Re: [css-d] not stretching to accomodate inline element heights

2007-01-26 Thread Ed Seehouse
On 1/26/07, martin f krafft <[EMAIL PROTECTED]> wrote: > > li a {display: block;} > If I do this, then the entire navigation bar will be horizontal all > of a sudden: I don't see why. All that rule says is that every a element inside an li element should be displayed in block

Re: [css-d] not stretching to accomodate inline element heights

2007-01-26 Thread martin f krafft
also sprach Zoe M. Gillenwater <[EMAIL PROTECTED]> [2007.01.26.1952 +]: > 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

Re: [css-d] not stretching to accomodate inline element heights

2007-01-26 Thread Zoe M. Gillenwater
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 , you'll see how the vertical padding on the > elements (as we

Re: [css-d] not stretching to accomodate inline element heights

2007-01-26 Thread martin f krafft
> "A" is an inline element and so of course rules designed for > application to block elements won't work. Fortunately you can make > them work with "display: block;" - for example > > li a {display: block;} If I do this, then the entire navigation bar will be horizontal all of

Re: [css-d] not stretching to accomodate inline element heights

2007-01-26 Thread Ed Seehouse
On 1/26/07, martin f krafft <[EMAIL PROTECTED]> wrote: > Dear list, > If you look at the top menu bar as well as the subcategories below > the page's , you'll see how the vertical padding on the > elements (as well as ) I was using to try to make the > navigation bars a bit thicker doesn't actual

[css-d] not stretching to accomodate inline element heights

2007-01-26 Thread martin f krafft
Dear list, I am fighting with 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 , you'll see how the vertical padding on the elements (as well