MyBB Community Forums

Full Version: What is the code for
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
He didn't set the max height, and made the height an actual value. Try this:

.quote_header, .code_header {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
border-bottom: 0px;
font-weight: bold;
color: #000000;
padding: 4px;
}

.quote_body {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
overflow: auto;
height: auto;
max-height: 200px;
font-style: italic;
color: #000000;
padding: 4px;
}

.code_body {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
overflow: auto;
height: auto;
max-height: 200px;
color: #000000;
padding: 4px;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}

I have it working on my forum. It also makes the code box display the regular font, not italics like vintagedaddyo's did...
Its perfect DrPoodle.Thanks for the help.
Anyone is welcome to also try this code... Wink

It's a lot less restrictive and should work with all forum platforms, modded or not. Smile

http://community.mybboard.net/showthread...#pid125043
Lopalong Wrote:Anyone is welcome to also try this code... Wink

It's a lot less restrictive and should work with all forum platforms, modded or not. Smile

http://community.mybboard.net/showthread...#pid125043
That messes up in Firefox...load of horrible overlapping!
DrPoodle Wrote:He didn't set the max height, and made the height an actual value. Try this:

.quote_header, .code_header {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
border-bottom: 0px;
font-weight: bold;
color: #000000;
padding: 4px;
}

.quote_body {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
overflow: auto;
height: auto;
max-height: 200px;
font-style: italic;
color: #000000;
padding: 4px;
}

.code_body {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
overflow: auto;
height: auto;
max-height: 200px;
color: #000000;
padding: 4px;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}

I have it working on my forum. It also makes the code box display the regular font, not italics like vintagedaddyo's did...

Yeah I must have been tired last night and burnt out on steaming java because that slipped my mind and I thought of it this morning when I woke up but you already had it taken care of. Good work Dr. Pooodle. Big Grin
Should be ok now.. Wink

DrPoodle Wrote:
Lopalong Wrote:Anyone is welcome to also try this code... Wink

It's a lot less restrictive and should work with all forum platforms, modded or not. Smile

http://community.mybboard.net/showthread...#pid125043
That messes up in Firefox...load of horrible overlapping!
Lopalong Wrote:Should be ok now.. Wink
Nope, the code box overlaps the text:

[attachment=5995]
Thanks Dr,

I added fixed width and the problem disappeared.. Smile

Then it fell apart the next time I logged on there.. Sad

I didn't notice that some closing wrappers ; were missing in the original script.

I've added them and it now appears to be ok, but I've got other problems, and I need to ascertain if that MOD is the problem. Sad

The first and last time I release anything that hasn't been beta-tested for a while. That's why my themes are not released yet.. Wink
Pages: 1 2 3