Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post

    CSS: body height: 100% produces scroll bars

    I used a CSS gradient on this site.

    Initially, the gradient started repeating half way down the page in Firefox (just after the content finished), so I set body to have height of 100% in CSS. However, this produces a vertical scroll bar.

    How can I have the gradient reach the bottom of the page without having a scroll bar?
    Last edited by SRD75; 05-24-2013 at 01:21 PM.

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    Setting the body's margins to 0 should get rid of that scrollbar.
    My signature :)

  • Users who have thanked ttkim for this post:

    SRD75 (05-24-2013)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Thanks ttkim (again!)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •