Print Page | Close Window

CODE block scrollbars

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22450
Printed Date: 08 April 2026 at 6:53am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CODE block scrollbars
Posted By: MrMellie
Subject: CODE block scrollbars
Date Posted: 19 January 2007 at 11:05am
Mikey's post http://forums.webwiz.net/forum_posts.asp?TID=21565 - here contains a prime illustration of something that I'm finding quite frustrating - excessive scroll bars. My browser has scrollbars for scrolling round a page. Is there any simple way of turning off the excessive amounts of redundant scrollbars that appear when using the [C0DE] tags??

Instead of sizing properly vertically, the code blocks puts in a scrollbar that you can only access by scrolling down the browser to the scrollbars that are now appearing on the post itself, so you can scroll across, scroll back up (browser) to the code block, scroll the code so it's visible, scroll down (browser), scroll back across (post), scroll back up again just so I can see the beginning of the code line!




Replies:
Posted By: Mikey
Date Posted: 19 January 2007 at 12:18pm
Without the scroll bars the entire page would be stretched out of propertions, using the scroll bar method keeps the page at the correct size.

-------------
Handyman man?


Posted By: Scotty32
Date Posted: 19 January 2007 at 12:48pm
to get rid of the scrollbars (though like mikey, id advise keeping) just look for the following in the CSS file (default_style.css) and remove the parts in red:

.BBcode{
    font-family: Courier New, Courier, mono;
    border: 1px dashed #999999;
    width: 97%;
    padding: 5px;
    margin: 8px 0px;
    text-align: left;
    overflow: auto;
    display: block;
    padding: 5px;
}



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: MrMellie
Date Posted: 19 January 2007 at 1:12pm
I agree with you that a horizontal scroll is needed on the code box to prevent the page width going ballistic, but there is no need for the vertical scrollbar on one line of text in the code box or either scrollbar that appears on posting/message area. The code box should surely scale to fit in the available width of the post?



Posted By: Mikey
Date Posted: 19 January 2007 at 3:10pm
That doesn't happen to me in FF2

-------------
Handyman man?


Posted By: MrMellie
Date Posted: 19 January 2007 at 3:58pm
I won't be able to test that until I get home. Corporate policy dictates use of IE.


Posted By: MrMellie
Date Posted: 19 January 2007 at 4:45pm
Perfik!! Looks spot on in FF.

Hurrah for IE's non-standard standards compliance!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net