OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
3 <title>chrome.i18n.detectLanguage example</title> | |
4 <style> | |
5 body { | |
mkearney1
2015/09/03 17:29:16
html is formatted a bit messy. Good idea to clean
amalika
2015/09/03 21:37:45
Done.
| |
6 font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif; | |
7 font-size: 100%; | |
8 } | |
9 #status { | |
10 /* avoid an excessively wide status text */ | |
11 white-space: pre; | |
12 text-overflow: ellipsis; | |
13 overflow: hidden; | |
14 max-width: 400px; | |
15 } | |
16 </style> | |
17 <script src="popup.js"></script> | |
18 </head> | |
19 <body> | |
20 <textarea id="text" placeholder="Text to translate" style="padding: 10px; wi dth: 200px;"></textarea> | |
21 <button id="btn-detect">Translate</button> | |
22 </body></html> | |
OLD | NEW |