2

Here are the screenshots of my mobile browser and my desktop browser.

My webpage has some overflow in x axis which I hid using overflow-x: hidden;

Is there any way I can make my webpage render in mobile browser, the way it renders in desktop browser i.e. full width and overflow hidden.

CSS:

body{
    padding:0;
    margin:0;
    background-image:url(../images/PaperBG/goovepaper.png);
    overflow-x: hidden;
}

Thanks.

enter image description here enter image description here

iitum studant
  • 856
  • 2
  • 8
  • 24

2 Answers2

2

Try adding this:

 #main_body {
    overflow-x: hidden;
    }
freewheeler
  • 1,306
  • 2
  • 12
  • 24
0

you are having an issue with the markup, check for overflowing contents,you can use the mozilla dev tool to get a 3D view of the page and fix the overflowing contents towards x axis. If it still doesn't help, please provide a sample markup on jsfiddle, codepoen or somewhere, we can have a look.

Lusan Das
  • 133
  • 2
  • 9