dorayme schreef:
>> Hi,
>>
[quoted text clipped - 25 lines]
>
> saving having to class each list item.
Thanks, but this solution would require me to add this to all containing
elements of kbd’s. Isn’t there something I can add to
kbd {
padding: 0px 1px 0px 1px;
border-width: 1px 2px 2px 1px;
border-style: solid;
}
such that this does not occur?
H.

Signature
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
David Stone - 14 Jul 2008 15:18 GMT
> dorayme schreef:
[snip]
> > Perhaps you know, you can simplify the css in an external or 'in the
> > document head' sheet by simply classing the ul and then
[quoted text clipped - 15 lines]
>
> such that this does not occur?
Did you try margin-bottom?
Hendrik Maryns - 14 Jul 2008 16:52 GMT
David Stone schreef:
>> dorayme schreef:
> [snip]
[quoted text clipped - 18 lines]
>
> Did you try margin-bottom?
Yes. It does nothing.
I can change the li around the kbd, but then all other li’s get the
margin as well, which is not as desired.
H.

Signature
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
dorayme - 15 Jul 2008 00:14 GMT
> dorayme schreef:
> >
[quoted text clipped - 7 lines]
> >> enclosing element to leave a little more space, such that the borders do
> >> not overlap?
> > One thig that would solve your problem is to class the list items and
> > apply a bottom margin of, say, .4em. Here is an example with
[quoted text clipped - 22 lines]
>
> such that this does not occur?
Suppose there was something that would pick out all and only those list
items and sentences in paragraphs that contained those kbd boxes. What
would it do to them? It would space them more generously top or bottom
or both. Now, in my opinion, that would look so odd if only those were
spaced.
You mention later in thread that you would not be happy to have all the
list items margined the same to cope with the ones that did have the kbd
boxes. So maybe you will not agree with my intuitions. Here is another
general solution which you may not be be keen on but the only one I can
think of for now that does not have bad side effects:
Consider a bigger line-height for all the elements that contain those
boxes.
ul, p {line-height: 1.4;}
And do this for all paragraphs to give a consistent look.

Signature
dorayme