|
Posted by Toby Inkster on 01/31/06 10:29
Els wrote:
> What you want is for instance:
> ul{margin-left:0;}
> ul ul{margin-left:10px;}
Argh! How many times do I have to say it?!
Different browsers use different combinations of margin and padding on UL
and LI to each achieve roughly the same effect. (An indentation of about
1.5em, followed by a bullet point, then an indentation of about 1em.)
Whenever you set a margin or padding on a list or list item, you must set
them all!
UL { margin: AAA; padding: BBB }
UL LI { margin: CCC; padding: DDD }
for whatever values AAA, BBB, CCC and DDD that you want.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|