Don Hinshaw schrieb:
Ingo Chao wrote:
inline-block lets the link more act as an entity.

Thanks for the fix. I'm trying to understand why it works...what did you mean by 'act more like an entity'?

display: inline-block makes the link behave like a rectangle, no "part" of the link element can "wrap" or leave its boundary.

I can think of that 1) the padding remains on the preceding line without painting tha background-color or 2) sticks out of the line box into the "bullet area" of the li and gets cropped or 3) simply vanishes into thin air.

The "question why" is hard to answer:
http://www.satzansatz.de/cssd/onhavinglayout.html

possible related to the problem you encountered are multi-line link problems:
http://www.satzansatz.de/cssd/wrappinglinkbg.html

to cut a long story short: sorry, I have no idea why or how
:)

Ingo

--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to