Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 08, 2012, 09:52:24 AM

Pages: [1]   Go Down
  Print  
Author Topic: Can't get rid of the scroll bar in Chrome  (Read 1222 times)
ichsie
Sky Marshal
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23



WWW
« on: January 22, 2010, 02:31:53 AM »

I have this post: http://www.kavoir.com/2009/01/web-hosting-mosso-discount-coupon-code-control-panel-demo-email-demo.html

I tried everything I could but the right scrolling bar of the post content div simply refuses to go away. The problem is specifically on Google Chrome.

Any idea what is causing the problem?
Logged

I keep a web development journal as well as a web hosting one.
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5081



« Reply #1 on: January 22, 2010, 09:41:40 AM »

Did you mean "post comment" section ("Leave a reply")? I see that Firefox 3.5 has no scroll bar, but IE 6 does. I don't have Chrome to try (I should probably snag a copy, just to test pages on). That may just be a quirk of some browsers -- they reserve space for a scroll bar so that if needed in the middle of an entry, it won't reflow the existing text in the textarea. According to my HTML book, "Scroll bars will appear when necessary". I don't see any attributes or CSS to suppress this reserved space, so it may be something you can't do anything about.

I ran the page through the W3C validator and it didn't like it. You have a lot of stuff that's not XHTML Strict, and a bunch of duplicate IDs. Perhaps loosening the doctype to Transitional, or cleaning up the code to Strict standards, might alter the behavior. I don't see any error messages in the vicinity of the <textarea> in question.
Logged

scanman20
Über Jedi
*****
Offline Offline

Posts: 1520



WWW
« Reply #2 on: January 22, 2010, 07:14:59 PM »

wow, the code is awful. quick fix is to remove the overflow statement on the entry-content class.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
Pages: [1]   Go Up
  Print  
 
Jump to: