HOW TO remove margins on when using widget?

uHotelBooking
Talk and help info about common issues

Moderator: alexandrleonenko

administrator
Site Admin
Site Admin
Posts: 6011
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO remove margins on when using widget?

Postby administrator » May 1st, '18, 20:28

The widget code generates IFRAME element and depending on styling of the page where code is used - you may see margins.
To remove margins on the page, where you use widget simply add to this page following code:

Code: Select all

<style>body{margin:0;padding:0;height:100%;width:100%;}</style>


See the difference on the screenshots below:
Untitled.png
Untitled.png (194.5 KiB) Viewed 647 times

Return to “uHotelBooking {ALL}”