Browse Source

[svn r21664] FS#2867 - The FCKEditor, dialogs: A visual fix for the buttons "Ok" and "Cancel".

Ivan Tcholakov 15 years ago
parent
commit
3fdc739a74

+ 2 - 2
main/inc/lib/fckeditor/editor/fckdialog.html

@@ -814,9 +814,9 @@ document.write( Args().Title ) ;
 					<tr>
 						<td width="100%">&nbsp;</td>
 						<td nowrap="nowrap">
-							<button id="btnOk" style="visibility: hidden;" type="button" value="Ok" class="save" onclick="Ok();" fckLang="DlgBtnOK" >Ok</button>
+							<button id="btnOk" style="visibility: hidden;" value="Ok" class="save" onclick="Ok();" fckLang="DlgBtnOK" >Ok</button>
 							&nbsp;
-							<button id="btnCancel" type="button" value="Cancel" class="cancel" onclick="Cancel();" fckLang="DlgBtnCancel" >Cancel</button>
+							<button id="btnCancel" value="Cancel" class="cancel" onclick="Cancel();" fckLang="DlgBtnCancel" >Cancel</button>
 						</td>
 					</tr>
 				</table>

+ 6 - 0
main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css

@@ -99,11 +99,17 @@ body, .BackColor
 #btnOk
 {
 	width: 110px;
+	height: 22px;
+	font-size: 11px;
+	font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
 }
 
 #btnCancel
 {
 	width: 110px;
+	height: 22px;
+	font-size: 11px;
+	font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
 }