How to avoid scroll in mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • me2tech
    New Member
    • Feb 2007
    • 14

    How to avoid scroll in mozilla

    Hi,

    I am developing the Html pages and using that in my module through Ajax. In my default index page there is no scrolling. But if I replace page having a scroll, in this <div> and then click the default page(or index page) link..I find that there is a scroll in my index page although by default which was not there.

    Help needed
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Change the width/height so that it fits the window, or use the CSS overflow property.

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      You can't turn the scrollbar off but you can make it so the other page has its bar on all the time. To do this, to your css, add:
      body{
      min-height:100%;
      margin-bottom:1px;
      }

      This makes the body overflow the viewport by the width of the margin causing the scrollbar.

      Comment

      Working...