Quote:
Originally Posted by Simon Lloyd
Does this happen if you try to apply the same in all browsers?
Also what font sets is your forum set to use?
|
So far it happens in Chrome, Safari and Firefox.
Here is my editor_contents.css file.
Code:
body,
body.content {
font: {vb:stylevar content_msg_font};
color: {vb:stylevar editor_text_color};
background:{vb:stylevar editor_background};
margin:0px;
padding:8px;
}
body.forum {
font: {vb:stylevar postbit_font};
}
html {
/* #3658: [IE6] Editor document has horizontal scrollbar on long lines
To prevent this misbehavior, we show the scrollbar always */
_overflow-y: scroll;
cursor:text;
}
img:-moz-broken {
-moz-force-broken-image-icon : 1;
width : 24px;
height : 24px;
}
img, input, textarea {
cursor: default;
}
img.previewthumb {
max-width:{vb:stylevar attachment_image_thumbnail_max};
max-height:{vb:stylevar attachment_image_thumbnail_max};
height:auto !important;
width:auto !important;
margin:1px;
}
img.previewthumb:hover {
opacity:.5;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
cursor: pointer;
}
img.size_thumbnail {
max-height:{vb:stylevar attachment_image_thumbnail_max};
max-width:{vb:stylevar attachment_image_thumbnail_max};
}
img.size_medium {
max-height:{vb:stylevar attachment_image_medium_max};
max-width:{vb:stylevar attachment_image_medium_max};
}
img.size_large {
max-height:{vb:stylevar attachment_image_large_max};
max-width:{vb:stylevar attachment_image_large_max};
}
img.size_fullsize {
max-width:100%;
max-height:100%;
overflow:hidden;
}
img.align_left {
float:left; /* dont use stylevar for this */
margin: 1em;
margin-left: 0;
}
img.align_center {
margin: 0 auto;
display:block;
}
img.align_right {
float:right; /* dont use stylevar for this */
margin: 1em;
margin-right: 0;
}
/* Table tag */
table {
width: auto;
}
table.wysiwyg_dashes {
border-collapse: collapse;
}
th.wysiwyg_dashes_th,
td.wysiwyg_dashes_td {
border: {vb:stylevar editor_wysiwyg_table_border};
padding: 3px;
}
th.cms_table_grid_th,
th.wysiwyg_cms_table_grid_th,
td.cms_table_grid_td,
td.wysiwyg_cms_table_grid_td {
border: {vb:stylevar bbcode_table_border};
}
table.cms_table_outer_border,
table.wysiwyg_cms_table_outer_border {
border-collapse: collapse;
border: {vb:stylevar bbcode_table_border};
}
th.cms_table_th,
th.cms_table_outer_border_th,
td.cms_table_td,
td.cms_table_outer_border_td {
border:none;
}
/* paragraph tag */
p {
margin: 0px;
padding: 0px;
}
/* preview break tag */
hr.previewbreak {
background-color:red !important;
border:medium none !important;
color:red !important;
height:6px !important;
}
/* pagebreak tag */
h3.wysiwyg_pagebreak {
border: 1px dashed #cccccc;
border-top: 3px double black;
padding: 4px;
}
ol.upper-roman > li {
list-style:upper-roman outside;
}
ol.lower-roman > li {
list-style:lower-roman outside;
}
ol.upper-alpha > li {
list-style:upper-alpha outside;
}
ol.lower-alpha > li {
list-style:lower-alpha outside;
}
ul, ol, dl {
margin: 0 40px;
padding: 0;
}