Grr! Cursed Horz Scroll.. Help out!

Discussion in 'Web Design and Development' started by wheezy, Mar 15, 2008.

  1. macrumors 65816

    wheezy

    Joined:
    Apr 7, 2005
    Location:
    Alpine, UT
    #1
    Howdy folks,

    I'm reworking my personal website today, and somewhere along the way my CSS took a turn for the worse and I can't figure out how to fix my problem... I have Horizontal Scrolling for about 10 or 20 pixels. I don't know why. My guess is it's somewhere in the CSS Body tag, but I've fiddled with that to no avail. Help me out?

    http://www.unculturedswine.net
    CSS Link

    PS, Both the XHTML and the CSS validate (links at bottom) so, it's not that I'm off-standard here....
     
  2. macrumors newbie

    Joined:
    Mar 11, 2008
    #2
    In your style sheet you have the following -

    h1.site_title {
    color: white;
    letter-spacing: 2px;
    font-weight: normal;
    font-style: normal;
    margin: 0;
    position: relative;
    top: 10px;
    left: 30px;
    }

    Change the last item 'left: 30px;' to 'padding-left: 30px;'.

    This will fix your problem.

    :cool:
     
  3. thread starter macrumors 65816

    wheezy

    Joined:
    Apr 7, 2005
    Location:
    Alpine, UT
    #3
    Marvelous!! Thanks Evildog. I've had this happen several times, and I never catch when it happens so going backwards becomes a pain. THANKS!
     

Share This Page