PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Can't remove the margin on ul elements
   PostPosted: 04 Jul 2012, 13:05 
<div style="width:400px;height:400px;border:1px solid black; margin:0px; padding:0px;"><ul style="border:1px solid red; height:200px; width:200px; margin:0px; padding:0px;"></ul><div style="width:100px;height:100px;border:1px solid blue; margin:0px; padding:0px;"></div>

In the code above, the ul element displays with a margin-left of ~40px, despite having its css style with "margin:0px". Interestingly, without this style it also displays with a margin-bottom, but this is removable with css styles.


  Subject: Re: Can't remove the margin on ul elements
   PostPosted: 10 Nov 2021, 21:11 
Same



[Reply]     [ 2 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share