Avatar of Rohit Bajaj
Rohit Bajaj
Flag for India

asked on 

Get rid of margin on ul and ol tags inside an iframe

In my web application an iframe gets loaded from a third party js.
Inside it there are some ol and ul tags which are getting margin of 14px top and bottom.
This most probably is coming from the browser.
How can i get rid of these margins ?
Here is the screen shot :
The third party library i am loading is basically ckeditor and demo can be seen at http://ckeditor.com/demo
If you type in the editor with bulltet or numbering tools... you will see in the firebug that ul and ol elements are getting generated with top and bottom margins... I am loading this ckeditor inside my web application.... and want to keep them to 0. But they are loaded inside iframe....

Avatar of undefined
Last Comment
Rohit Bajaj

8/22/2022 - Mon