By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,116 Members | 1,097 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,116 IT Pros & Developers. It's quick & easy.

line-height within a list; <ul>, <li> interactions etc.

P: n/a
jkn
Hello all
I'm having some problems with a list within a menu div. I'm a
fairly naive CSS user and suspect there's a concept or two I'm
missing...

I have an unordered list of link tests within a div that I use as a
menu on the left hand side of my page. Because the text for some of
these links is wider than the div, I see some word wrap, which is fine.
But altering the line-height property of the innermost element - the
<aof the link - also seems to affect the spacing of the entries
within the list. I really want to able to alter independantly (i) the
spacing between list entries, and (ii) the leading within a list entry
which wraps round.

Can someone explain how this works, or maybe point me to a reference?

Thanks
Jon N

Sep 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.