html - White right margin on mobile devices -


i made website displays correctly on desktop on mobile devices large white margin on right side of screen. tried every solution found far, meaning following basically:

html,body {     width: 100%;     height: 100%;     margin: 0px;     padding: 0px;     overflow-x: hidden;     overflow-y: auto; } 

tried every combination out of didnt have margin instead vertical scrolllbar isnt either. please me issue?

you can see problem here.

you should set max-width: 100%;, or try find element in html code (using development tools in browser) has width property value higher mobile screen resolution.

i found .menu2 class element have negative margin value. setting 0, , changing width of .main element 100% instead of value in ems solved problem in browser.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -