Those of us with fixed width themes have a problem with bbcode blowing the side of the theme out to accomodate the bbcode data.
Is there a way to encapsulate the data into a window that has a horizonal scrollbar set to width x?
I removed the code that allowed the window to open up using 'code' but it seems that it would be better to add a scrollbar.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
BBCODE and Scrollbar - PNphpBB2
-
- Rank: Helper
- Registered: Sep 19, 2003
- Last visit: May 25, 2010
- Posts: 612
-
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 511
I usually use an additional overflow-x:auto;white-space:nowrap;max-height:600px;max-width: 600px; for .codecontent in the forum style.
Greetings,
Chris
--
an operating system must operate
development is life
my repo -
- Rank: Helper
- Registered: Sep 19, 2003
- Last visit: May 25, 2010
- Posts: 612
Yes, this works somewhat.
In Firefox; the display is correct. In IE 8 it takes the theme out the right side. The dialog box stays intact in both, and in the correct position.
Link
Now there seems to be another issue with 'Code'. The code I inserted into the link above; when I submit it jumps back to the main screen of the website and not back to the new forum post it created. Quote works fine, but Code is having this problem. This is happening in all browsers.
Note: this could becuse the inserted code is throwing an alert back to my email 'Possible attempt to crack your site (type: pnSecurity Alert)'?
TIA...
edited by: mesteele101, datetimebrief
- Moderated by:
- Support
