[mw-devel] MW3 r1219 - in trunk/webclient: . templates

dez at sucs.org dez at sucs.org
Sun Oct 10 18:58:47 BST 2010


Author: dez
Date: 2010-10-10 18:58:47 +0100 (Sun, 10 Oct 2010)
New Revision: 1219

Modified:
   trunk/webclient/mw.css
   trunk/webclient/templates/front.html
Log:
Resolves width discrepancy on #textlist


Modified: trunk/webclient/mw.css
===================================================================
--- trunk/webclient/mw.css	2010-10-10 17:34:33 UTC (rev 1218)
+++ trunk/webclient/mw.css	2010-10-10 17:58:47 UTC (rev 1219)
@@ -12,33 +12,33 @@
 	min-height: 20em;
 }
 
-#textlist, #sayit, #textlist table, #wholist, #milliways {
+#textouter, #sayit, #textlist table, #wholist, #milliways {
 	font-family: Monaco, "Lucida Sans Typewriter", "Lucida Console", monospace;
-	font-size: 10pt;
+	font-size: 9pt;
 }
 
 #wholist {
 	float: right;
 	width: 11em;
-	border: 1px solid black;
 	list-style: none;
 	margin: 0;
-	padding: 5px;;
+	padding: 5px;
 	height: 100%;
 	overflow: auto;
 	background-color: #000000;
 	color: #d6d6d6;
 }
 
-
-#textlist, #sayit {
+#textouter, #sayit {
 	float: left;
-	border: 1px solid black;
-	padding: 5px;
 	overflow: auto;
 	white-space: pre-wrap;
 }
 
+#textlist {
+	padding: 5px;
+}
+
 #textlist table {
 	margin: 0;
 	padding: 0;
@@ -48,7 +48,7 @@
 	text-align: left;
 }
 
-#textlist {
+#textouter {
 	height: 100%;
 	width: 100%;
 }
@@ -56,7 +56,7 @@
 #sayit {
 	height: 4em;
 	width: 100%;
-	margin-top: 2px;
+	padding: 5px;
 }
 
 form {
@@ -108,7 +108,7 @@
 /* * Term Colours (Silver on Black)                * */
 /* ************************************************* */
 
-#textlist, #textlist table, a {
+#textouter, #textlist table, a {
 	background: #000000;
 	color: #d6d6d6;
 }

Modified: trunk/webclient/templates/front.html
===================================================================
--- trunk/webclient/templates/front.html	2010-10-10 17:34:33 UTC (rev 1218)
+++ trunk/webclient/templates/front.html	2010-10-10 17:58:47 UTC (rev 1219)
@@ -1,18 +1,13 @@
 <h1>Milliways</h1>
 
 <table id="milliways" cellspacing="2" cellpadding="0" border="0">
-<tr style="height: 0;">
-<td></td>
-<td style="width: 10px;">
-<td style="width: 12em;">
-</tr>
 <tr><td>
-<div id="textlist"><p class="welcome">Milliways III - Web Edition</p></div>
-</td><td colspan="2">
+<div id="textouter"><div id="textlist"><p class="welcome">Milliways III - Web Edition</p></div></div>
+</td><td style="width: 12em; padding-left: 1px;">
 <ul id="wholist">
 </ul>
 </td></tr>
-<tr><td style="height: 4em;" colspan="2">
+<tr><td style="height: 4em;">
 <form action="" id="sayform">
 	<textarea name="sayit" id="sayit" onKeyPress="return submitenter(this,event)"></textarea>
 </form>




More information about the mw-devel mailing list