Snippets

7shi n [HTML] 逐語訳

Updated by 7shi n

File Icelandic.html Modified

  • Ignore whitespace
  • Hide word diff
 for (var i = 0; i < lines.length; ++i) {
     var line = lines[i];
     var tbl = document.createElement("table");
-    tbl.setAttribute("style", "margin:0.2em 0.1em 0.2em 0.1em;padding:0");
+    tbl.setAttribute("style", "margin:0.2em 0.2em 0.2em 0.2em;padding:0");
     tbl.setAttribute("align", "left");
     for (var j = 0; j < max; ++j) {
         var tr = document.createElement("tr");
Updated by 7shi n

File Icelandic.html Modified

  • Ignore whitespace
  • Hide word diff
 
 "Og|そして|og",
 "eigi|【否定】|ikke",
-"leið|苦しめる|led",
+"leið|導く|led",
 "þú|あなたが|du",
 "oss|私達を|os",
 "í|~の中へ|ind i",
Updated by 7shi n

File Icelandic.html Modified

  • Ignore whitespace
  • Hide word diff
 (function() {
 var div = document.getElementById("div20170804");
 var lines = [
-"(氷語)|(意味)|(丁語)",
+"(原文)|(意味)|(丁語)",
 
 "Faðir|父|Fader",
 "vor,|私達の|vor",
Updated by 7shi n

File Icelandic.html Modified

  • Ignore whitespace
  • Hide word diff
 (function() {
 var div = document.getElementById("div20170804");
 var lines = [
-"(原文)|(意味)|(丁語)",
+"(氷語)|(意味)|(丁語)",
 
 "Faðir|父|Fader",
 "vor,|私達の|vor",
 for (var i = 0; i < lines.length; ++i) {
     var line = lines[i];
     var tbl = document.createElement("table");
-    tbl.setAttribute("style", "margin:0.2em 0.2em 0.2em 0.2em;padding:0");
+    tbl.setAttribute("style", "margin:0.2em 0.1em 0.2em 0.1em;padding:0");
     tbl.setAttribute("align", "left");
     for (var j = 0; j < max; ++j) {
         var tr = document.createElement("tr");
+        tr.setAttribute("align", "center");
         var td = document.createElement("td");
         var st = "border:none;padding:0;";
         if (j != 1) {
-            st += "font-size:80%;";
+            st += "font-size:75%;";
         }
         td.innerText = j >= line.length || line[j] == "" ? " " : line[j];
         td.setAttribute("style", st);
Updated by 7shi n

File Icelandic.html Modified

  • Ignore whitespace
  • Hide word diff
 </head>
 <body>
 
-<div id="div20170804" style="background-color:#e8e8e8;line-height:0.8"></div>
+<div id="div20170804" style="background-color:#e8e8e8;line-height:1.2"></div>
 <script type="text/javascript">
 (function() {
 var div = document.getElementById("div20170804");
 for (var i = 0; i < lines.length; ++i) {
     var line = lines[i];
     var tbl = document.createElement("table");
-    tbl.setAttribute("style", "margin:0.15em 0 0.15em 0;padding:0");
+    tbl.setAttribute("style", "margin:0.2em 0.2em 0.2em 0.2em;padding:0");
     tbl.setAttribute("align", "left");
     for (var j = 0; j < max; ++j) {
         var tr = document.createElement("tr");
         var td = document.createElement("td");
-        var st = "border:none;";
+        var st = "border:none;padding:0;";
         if (j != 1) {
             st += "font-size:80%;";
         }
  1. Prev
  2. 1
  3. 2
  4. Next