Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2013, 03:00 PM   PM User | #1
chevy_ls_6
Regular Coder

 
Join Date: Aug 2009
Posts: 160
Thanks: 42
Thanked 2 Times in 2 Posts
chevy_ls_6 is an unknown quantity at this point
What's causing scroll bar?

http://alton.k12.mo.us

In IE8, in #main_content, I'm getting a horizontal scroll bar at the bottom and in Opera Mobile I have both a horizontal and a vertical scroll bar. I can't seem to figure out if it's the #sidenav, #main_content, or even the #block2 that is causing the problem....

Any help is appreciated!
chevy_ls_6 is offline   Reply With Quote
Old 02-06-2013, 03:36 PM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
It's coming from these lines within your first listed WP post:

Code:
<p>_______________________________________________________________________</p>
There are several of these and below a certain width there is insufficient space for them. This happens in FF, IE9 as well as IE8. Remove these and the scrollbar goes.
__________________
Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
Read Steve Krug's book Don't Make Me Think - essential reading on web usability
I don't recommend much, but I do recommend Clook for UK web hosting
SB65 is offline   Reply With Quote
Users who have thanked SB65 for this post:
chevy_ls_6 (02-06-2013)
Old 02-06-2013, 05:07 PM   PM User | #3
chevy_ls_6
Regular Coder

 
Join Date: Aug 2009
Posts: 160
Thanks: 42
Thanked 2 Times in 2 Posts
chevy_ls_6 is an unknown quantity at this point
Holy cow, that was simple...can't believe I didn't catch that...I assumed that it would wrap like the text. I know that when the author uploads that post/document every month it's a cut/paste from an internal document, so I'll warn them about the hr's...
chevy_ls_6 is offline   Reply With Quote
Old 02-06-2013, 05:24 PM   PM User | #4
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Quote:
Originally Posted by chevy_ls_6 View Post
Holy cow, that was simple...can't believe I didn't catch that...I assumed that it would wrap like the text. I know that when the author uploads that post/document every month it's a cut/paste from an internal document, so I'll warn them about the hr's...
Slightly pedantic, but it's not the <hr> that's the problem, that would be OK. It's the fact that this is a line full of dashes with no spaces which would allow the line to break.
__________________
Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
Read Steve Krug's book Don't Make Me Think - essential reading on web usability
I don't recommend much, but I do recommend Clook for UK web hosting
SB65 is offline   Reply With Quote
Users who have thanked SB65 for this post:
chevy_ls_6 (02-06-2013)
Old 02-06-2013, 05:44 PM   PM User | #5
chevy_ls_6
Regular Coder

 
Join Date: Aug 2009
Posts: 160
Thanks: 42
Thanked 2 Times in 2 Posts
chevy_ls_6 is an unknown quantity at this point
Ahhh, so it is...I didn't catch that initially...thanks again!
chevy_ls_6 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:33 AM.


Advertisement
Log in to turn off these ads.