|
Posted by sevillad on 08/30/07 09:15
Hi,
On Aug 29, 12:48 pm, "rf" <r...@invalid.com> wrote:
> "sevillad" <sevil...@gmail.com> wrote in message
>
> news:1188383046.716474.265510@r29g2000hsg.googlegroups.com...
>
> > Hi,
>
> > I'm using an inline ul to get a horizontal menu, but it's long so it
> > takes two lines, and when I try to add some spacing between them with
> > margin, it doesn't work.
>
> line-height.
>
> Please do not post code. Post a URL.
>
> --
> Richard.
Thanks, it's solved. I would also like to understand why adding border
or padding didn't work, since it seems to be a common solution.
On a related note, I don't really know where to add CSS when I have
elements inside other elements (in my case, I have a UL, and LI's
inside, and in each one there's an A). And now that I'm at it, should
I wrap those A's in DIVs or P's for the sake of meaningful code?
Thanks a lot,
David
[Back to original message]
|