3 Strangely, IE sucks with or without the DOCTYPE switch.
4 I thought it would only suck without it.
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
7 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9 Spell Checker Plugin for HTMLArea-3.0
10 Sponsored by www.americanbible.org
11 Implementation by Mihai Bazon, http://dynarch.com/mishoo/
14 Distributed under the same terms as HTMLArea itself.
15 This notice MUST stay intact for use (see license.txt).
17 $Id:spell-check-ui.html 987 2008-04-12 12:39:04Z ray $
23 <title>Spell Checker
</title>
24 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
25 <script type=
"text/javascript" src=
"spell-check-ui.js"></script>
27 <style type=
"text/css">
28 html
, body
{ height: 100%; margin: 0px; padding: 0px; background-color: #fff;
30 a:link
, a:visited
{ color: #00f; text-decoration: none
; }
31 a:hover
{ color: #f00; text-decoration: underline
; }
33 table
{ background-color: ButtonFace
; color: ButtonText
;
34 font-family: tahoma
,verdana
,sans-serif
; font-size: 11px; }
36 iframe
{ background-color: #fff; color: #000; height: 100%; width: 100%; }
38 .controls { width: 13em; }
39 .controls .sectitle { /* background-color: #736c6c; color: #fff;
40 border-top: 1px solid #000; border-bottom: 1px solid #fff; */
42 font-weight: bold
; padding: 2px 4px; }
43 .controls .secbody { margin-bottom: 10px; }
45 button
, select
{ font-family: tahoma
,verdana
,sans-serif
; font-size: 11px; }
46 button
{ width: 6em; padding: 0px; }
48 input
, select
{ font-family: fixed
,"andale mono",monospace
; }
50 #v_currentWord { color: #f00; font-weight: bold
; }
51 #statusbar { padding: 7px 0px 0px 5px; }
52 #status { font-weight: bold
; }
57 <body onload=
"initDocument()">
59 <form style=
"display: none;" action=
"spell-check-logic.cgi"
60 method=
"post" target=
"framecontent"
61 accept-charset=
"UTF-8"
62 ><input type=
"hidden" name=
"content" id=
"f_content"
63 /><input type=
"hidden" name=
"dictionary" id=
"f_dictionary"
64 /><input type=
"hidden" name=
"init" id=
"f_init" value=
"1"
65 /><input type=
"hidden" name=
"utf8_to_entities" id=
"utf8_to_entities" value=
"1"
68 <table style=
"height: 100%; width: 100%; border-collapse: collapse;" cellspacing=
"0" cellpadding=
"0">
70 <td colspan=
"2" style=
"height: 1em; padding: 2px;">
71 <div style=
"float: right; padding: 2px;"><span>Dictionary
</span>
72 <select id=
"v_dictionaries" style=
"width: 10em"></select>
73 <button id=
"b_recheck">Re-check
</button>
75 <span id=
"status">Please wait. Calling spell checker.
</span>
79 <td style=
"vertical-align: top;" class=
"controls">
80 <div class=
"secbody" style=
"text-align: center">
81 <button id=
"b_info">Info
</button>
83 <div class=
"sectitle">Original word
</div>
84 <div class=
"secbody" id=
"v_currentWord" style=
"text-align:
85 center; margin-bottom: 0px;">pliz weit ;-)
</div>
86 <div class=
"secbody" style=
"text-align: center">
87 <button id=
"b_revert">Revert
</button>
89 <div class=
"sectitle">Replace with
</div>
91 <input type=
"text" id=
"v_replacement" style=
"width: 94%; margin-left: 3%;" /><br />
92 <div style=
"text-align: center; margin-top: 2px;">
93 <button id=
"b_replace">Replace
</button><button
94 id=
"b_replall">Replace all
</button><br /><button
95 id=
"b_ignore">Ignore
</button><button
96 id=
"b_ignall">Ignore all
</button>
98 id=
"b_learn">Learn
</button>
101 <div class=
"sectitle">Suggestions
</div>
102 <div class=
"secbody">
103 <select size=
"11" style=
"width: 94%; margin-left: 3%;" id=
"v_suggestions"></select>
108 <iframe src=
"../../popups/blank.html" width=
"100%" height=
"100%"
109 id=
"i_framecontent" name=
"framecontent"></iframe>
113 <td style=
"height: 1em;" colspan=
"2">
114 <div style=
"padding: 4px 2px 2px 2px; float: right;">
115 <button id=
"b_ok">OK
</button>
116 <button id=
"b_cancel">Cancel
</button>
118 <div id=
"statusbar"></div>