Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Internet of Things
  4. Why I am getting Horizontal scroll on my website

Why I am getting Horizontal scroll on my website

Scheduled Pinned Locked Moved Internet of Things
helpcsscomquestionannouncement
8 Posts 7 Posters 52 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15298656
    wrote on last edited by
    #1

    i have a website called backlinkyourwebsite i am not sure why i am getting horizontal scroll on mobile version, i have tried many css but no luck this scroll issue is giving me too much pain, here is screenshot - http://prntscr.com/1f2l0ei is anyone can help me please? thanks in advance.

    L 1 Reply Last reply
    0
    • M Member_15298656

      i have a website called backlinkyourwebsite i am not sure why i am getting horizontal scroll on mobile version, i have tried many css but no luck this scroll issue is giving me too much pain, here is screenshot - http://prntscr.com/1f2l0ei is anyone can help me please? thanks in advance.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Because the content is bigger than the container, and the default (usually) is to add scroll bars unless you turn them off (for the container).

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      M I 2 Replies Last reply
      0
      • L Lost User

        Because the content is bigger than the container, and the default (usually) is to add scroll bars unless you turn them off (for the container).

        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

        M Offline
        M Offline
        Member_15298656
        wrote on last edited by
        #3

        Thank you So much, is there any quick code to fix it please ? i really appreciate that. thanks once again for your response

        M 1 Reply Last reply
        0
        • M Member_15298656

          Thank you So much, is there any quick code to fix it please ? i really appreciate that. thanks once again for your response

          M Offline
          M Offline
          Member_15510360
          wrote on last edited by
          #4

          The horizontal Scroll bar generally comes you have wide content or a fixed-width element that is wider than the viewport. It may also occur because of other factors.

          1 Reply Last reply
          0
          • L Lost User

            Because the content is bigger than the container, and the default (usually) is to add scroll bars unless you turn them off (for the container).

            It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

            I Offline
            I Offline
            IESCO Bill
            wrote on last edited by
            #5

            Set the width of the container fix. so that the content of website cannot change the width of the container.

            G A M 3 Replies Last reply
            0
            • I IESCO Bill

              Set the width of the container fix. so that the content of website cannot change the width of the container.

              G Offline
              G Offline
              Gingiza
              wrote on last edited by
              #6

              Excellent, thanks. openinghours.co.il

              1 Reply Last reply
              0
              • I IESCO Bill

                Set the width of the container fix. so that the content of website cannot change the width of the container.

                A Offline
                A Offline
                Ashok KUmar 12
                wrote on last edited by
                #7

                Horizontal scrolling on your website may occur due to elements exceeding the viewport width or issues with responsive design. Review your CSS, ensure proper breakpoints, and check for oversized images or containers causing the horizontal overflow.

                1 Reply Last reply
                0
                • I IESCO Bill

                  Set the width of the container fix. so that the content of website cannot change the width of the container.

                  M Offline
                  M Offline
                  Member_16142785
                  wrote on last edited by
                  #8

                  Thank you for this answer, worked for me.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups