2

I am designing a responsive website. It works fine in desktop but when i test in Mobile phones ,I am not able to scroll the page. So i can see only content which fit in the device height. Note: I have even included meta name="viewport" content="width=device-width",initial-scale-1.0" Please Help me :-)

5
  • We can't help you unless you post some code that demonstrates your problem.
    – thordarson
    Feb 8, 2013 at 14:51
  • You are not using fixed/absolute values for the body (or content), are you?
    – inhan
    Feb 8, 2013 at 14:55
  • @thordarson :Sorry for the delay. <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <link href="assets/css/bb.css" rel="stylesheet"> <link href="assets/css/bbresponsive.css" rel="stylesheet"> <link href="assets/css/style.css" rel="stylesheet"> <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet"> <script src="assets/js/jquery.js"></script> did i miss something specific to mobiles?
    – scream4767
    Feb 11, 2013 at 5:38
  • @inhan: No as far as height is considered i am not using any fixed vales. I use it only in width
    – scream4767
    Feb 11, 2013 at 5:39
  • Fixed!! I included iscroll for a dialog box. Removed iscroll for time being. Now its working.
    – scream4767
    Feb 14, 2013 at 6:28

1 Answer 1

3

Its been a year since you asked this question, but my answer might help someone.

Make sure you haven't use body{ overflow: hidden}, because that will hide content which is not visible in initial screen.

EDIT: If you want to hide horizontal scroll which is coming because of unknown reason, use body{overflow-x: hidden}. However, I recommend you to find reason behind horizontal scroll.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.