3 replies [Last post]
airswit
airswit's picture
Offline
Enthusiast
California
Last seen: 8 years 50 weeks ago
California
Timezone: GMT-7
Joined: 2006-01-07
Posts: 124
Points: 9

hey all...i did a search of the forum and havn't found any similar problems. my site (http://tswitkowski.selfip.biz ) is prett much styled the way i want it for now in FF, but in IE I get a horizontal scroll bar. I havn't set the width of anything I can see, and i temporarily put borders around everything in order to show that html and body elements are the ful width of the screen, and do not extend off of the viewport. any thoughts on what can be causing this?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 12 hours 17 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9761
Points: 3843

'mysterious' horizontal scroll bar in IE

Not tested.

Try

#footer ul {
    list-style-type:none;
    margin:0; 
    padding: 0;
    text-align:center;
    line-height:15px;
    }
Note, width removed and padding added.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 31 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

'mysterious' horizontal scroll bar in IE

As Gary suggests it's the fact that you have ul width 100% plus 20% padding on the footer parent, look at it in border outline in FF and remove the 20% padding and you will see the ul escape the footer all in all you seem to be overworking the footer rules, if you want the list links centered can you not apply say ~80% width and auto margins to the ul and do away with the footer padding?

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

airswit
airswit's picture
Offline
Enthusiast
California
Last seen: 8 years 50 weeks ago
California
Timezone: GMT-7
Joined: 2006-01-07
Posts: 124
Points: 9

'mysterious' horizontal scroll bar in IE

i see what you guys are saying, and it makes perfect sense. i should have done that to begin with, but unfortunately, it still is not working out too well for me, same problem.

p.s. i do know it is the footer though, cuz i rendered the page without the footer div, and no horizontal scrollbar