Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (maria, Ruben Rocha, WebMagic), 21 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/14/07
Posts: 8
Top Posters (30 Days)
Ruben Rocha 177
Gizmo 110
Rick 109
Thelockman 80
driv 47
AllenAyres 35
Ian 29
ntdoc 27
Sirdude 23
ScriptKeeper 21
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#216775 - 09/03/08 12:57 PM Styles: UBBCode Properties
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ
I was going to post this in "How Do I?" but it doesn't allow file uploads...


I'm not really sure what's going on with IE here, but as usual it's screwed up while things display properly in Firefox and Safari.

It seems quoted text follows the rules below (max-height: 400px), but code doesn't in IE. Quoted text -- and code blocks -- should both follow the same rules, no? Because in IE the code block has scrollbars well before the max-height setting. And shouldn't quoted text and code have separate CSS anyway?


.ubbcode-block
Code:
margin: 5px 2em;
background: #FFFFFF;
border: 1px solid #AAAA11;
padding: 0px;
border-spacing: 0px;


.ubbcode-body
Code:
margin: 4px;
max-width: 100%; 
max-height: 400px; 
overflow: auto; 
font-size: 10pt;
display: block;  


I've tried playing around with this to no avail (I'm no CSS expert), so does anyone have any ideas about why code wouldn't be following the rules while quoted text seems to in IE? Any changes I can make here to correct this?

Thanks smile


Attachments
FF3-code.gif

Description: FF3 displaying CODE properly

IE7-code.gif

Description: IE7 misbehaving with CODE block

FF3-quoted.gif (24 downloads)
Description: FF3 displaying quoted text as intended

IE7-quoted.gif (27 downloads)
Description: IE7 displaying quoted text as intended


_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#216807 - 09/04/08 04:59 PM Re: Styles: UBBCode Properties [Re: jgeoff]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ

Anyone? Bueller? wink

PS - Chrome shows it correctly, too wink
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#216861 - 09/08/08 07:36 AM Re: Styles: UBBCode Properties [Re: jgeoff]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
I believe it's something to do with the formatted text in the code block, but I'm not positive. I need to tinker a bit.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
12/01/08 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
changing colors in quoted thread box
by sbserves
11/30/08 07:08 AM
[7.3.1] Image Not Found
by BellaOnline
11/29/08 09:48 PM
Private topic (PM) to a user that doesn't exist...
by bakerzdosen
11/29/08 10:56 AM
Forum Stats
4261 Members
33 Forums
30529 Topics
154943 Posts

Max Online: 978 @ 06/24/07 08:19 PM