Forum How do I...?

UL-LI tag Issue

I am using UL Li html tag and applied some style(padding-left: 0;) over that. It works on browsers but in pdf it does not work. I am sharing html and pdf Please have a look.
  1. 190.html0.7 kB
    HTML File
  2. out.pdf16.2 kB
    PDF FIle
In the CSS box model, margin, border and padding influence spacing around elements. In your code, you only set margin. Try setting padding/border as well. You can learn more about the CSS box model here:

Edited by howcome