Take off background on right side when at 800x600

Discussion in 'CSS' started by kinch, Feb 18, 2007.

  1. #1
    Hello all,

    If you view my website at 800x600, or if you just resize you browser window, you will notice that you can scroll a bit to the right. Theres a black bar, which is the page background. How do I remove that so that they can't scroll, and all they see is the white at 800x600?

    Here is the website:
    http://www.kinchdesigns.ca/

    CSS:
    http://www.kinchdesigns.ca/images/style.css
     
    kinch, Feb 18, 2007 IP
  2. unitedrokz

    unitedrokz Peon

    Messages:
    86
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    in the body tag of your css add this line

    overflow:hidden;
     
    unitedrokz, Feb 18, 2007 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    The viewport of a browser at 800px wide is about 760px. Your 800px wide elements are just too wide.

    cheers,

    gary
     
    kk5st, Feb 18, 2007 IP