MyBB Community Forums

Full Version: SCEditor: Two editors to appear stacked on top of each other after each post.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Something that I've done causes two instances of the SCEditor, one stacked on top of the other, to appear after each post.

Can anyone see what I could have done wrong in the CSS that follows to cause this to happen?

All I meant to do was change the background colour to dark grey and the font to white.

I would also like to make the preview button disappear since the SCEditor is WYSIWYG.

Thanks in advance.


(2013-10-03, 06:28 AM)Auriel Kitsu Wrote: [ -> ]
body { background: #2A2A2A;
}
html, body, p, code:before, table {color: #2A2A2A;
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
}
html {
	/* Needed so the cursor will be placed at the end of the content
	   when the there isn't enough content to fill the full viewport */
	height: 100%;

	/* Needed for iOS scrolling bug fix */
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
body {
	/* Needed for iOS scrolling bug fix */
	position: relative;
	overflow: auto;

	/* Needed so the cursor will be placed at the end of the content
	   when the there isn't enough content to fill the full viewport */
	min-height: 100%;

	word-wrap: break-word;

}

table, td {
	border: 1px dotted #000;

	/* Show empty cells so they can be edited */
	empty-cells: show;
}

code:before {
	font-weight: bold;
	content: 'Code:';
	display: block;
	border-bottom: 1px solid black;
	padding: 4px 0 2px;
	margin: 0 0 4px;
}
code {
	font-family: Monaco, Consolas, Courier, monospace;
	padding: 4px;
	position: relative;
	background: #7C7877;
	border: 1px solid #ccc;
	white-space: pre;
	display: block;
}
.ie6 code, .ie7 code {margin-top: 0;}
code:before, code {
	display: block;
	text-align: left;
}

blockquote {
	position: relative;
	background: #7C7877;
	margin: .25em 0;
	border: 1px solid #ccc;
	padding: 4px;
}
blockquote cite {
	font-weight: bold;
	font-style: normal;
	display: block;
	font-size: 1em;
	border-bottom: 1px solid black;
	margin: 4px 0;
}

/* prevent divs from being collapsed */
div { min-height: 1.25em; }
h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; }

ul, ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}