1

If i'll put margin-top to the first list item(LI), then margin is outside of ul.

Same thing for last item and margin-bottom. But margin-left/margin right works as expected..

Why is that and is that fixable?

See :Fiddle Link

Cheers

swapy
  • 1,586
  • 1
  • 14
  • 31
Kristian
  • 3,047
  • 1
  • 20
  • 45
  • There is nothing wrong with a
    in a
  • , but you want to create a list with list items, so why not use the tags that were created specifically for your purpose?
  • – Andy Aug 03 '12 at 09:19
  • I had one item, and questin was about that. But okay, i'll get your point – Kristian Aug 03 '12 at 09:20