"Jon Glazer" <jg***************@adconn.com> wrote:
"Steve Pugh" <st***@pugh.net> wrote in message
news:oe********************************@4ax.com.. . "Jon Glazer" <jg***************@adconn.com> wrote:
Is there a way to reduce the size of the blank line (height) between <ul>
and <li> tags in CSS?
Set margin-top and margin-bottom for the affected elements.
Remember that when you have two adjacent elements the margin between
them will be the larger of the margin-bottom of the upper element and
the margin-top of the lower element.
Tried;
ul { margin-left: 10px; margin-bottom:1px; }
li{ margin-top:1px; }
With no effect at all. Am I missing something?
Apart from how to post properly in order to facilitate logical
communication you seem to be missing two things. The first is that
left and top are only the same after a few beers ;-) and the second is
a URL so we can see what's actually happening in the context of a web
page.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>