PDA

View Full Version : Grr! Cursed Horz Scroll.. Help out!




wheezy
Mar 15, 2008, 01:55 PM
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 (http://www.unculturedswine.net/unculturedswine.css)

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



EvilDog
Mar 15, 2008, 02:43 PM
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:

wheezy
Mar 15, 2008, 03:24 PM
Marvelous!! Thanks Evildog. I've had this happen several times, and I never catch when it happens so going backwards becomes a pain. THANKS!