How to get rid of margins in jquery layout -


I am using and I have a hard time getting rid of margins on the pan. There is always a margin and no amount of CSS can get rid of them. I'm implementing a simple demo, basically I want the same thing, but on any inner pan without any margin / padding. I'll adjust it myself

Hope I am clear enough.

I think the following CSS rules can fix your problem:

  .ui-layout-fane {padding: 0px! Important; }  

Unfortunately, it looks like the panel plug-ins complete many positions and it is possible that the size of the container will now be closed by 20px each. You can write some jQuery to fix it, perhaps:

  jQuery ('.ui-layout-pane'). Each (function () {var el = jQuery (this); el.width (El.width () + 20);});  

... or somesuch, but ... yes, this is not ideal. You might want to revise the source of this one to see a different plug-in or 20px discrepancy in the size of the pan.


Comments