Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
div with 100% width inside ons-page
Saeedpadyab last edited by Saeedpadyab
when ever i add a div with style="width : 100% " inside the <ons-page > , width of the div became over the width of ons page
jamal last edited by jamal
@Saeedpadyab, check the index.html viewport meta tag.
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no">
@Saeedpadyab That’s weird. Are you also adding
marginsomewhere? Margins don’t work as expected with