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

dez at sucs.org dez at sucs.org
Sun Nov 14 15:39:09 GMT 2010


Author: dez
Date: 2010-11-14 15:39:09 +0000 (Sun, 14 Nov 2010)
New Revision: 1240

Modified:
   trunk/webclient/mw.css
   trunk/webclient/templates/front.html
   trunk/webclient/templates/main.html
Log:
Adds doctype to be standards compliant
Some CSS changes to take account of this; not working in Firefox yet


Modified: trunk/webclient/mw.css
===================================================================
--- trunk/webclient/mw.css	2010-11-14 13:29:05 UTC (rev 1239)
+++ trunk/webclient/mw.css	2010-11-14 15:39:09 UTC (rev 1240)
@@ -1,11 +1,20 @@
-body {
-	margin: 5px;
-	padding 5px;
+html, body {
+	height: 100%;
 }
 
+html, body, form, textarea {
+	margin: 0;
+	padding: 0;
+}
+
+img {
+	border: 0;
+}
+
 table#layout {
 	width: 100%;
 	height: 100%;
+	padding: 5px;
 }
 
 table#layout td {
@@ -18,9 +27,16 @@
 }
 
 tr#inputtr {
-	height: 3em;
+	height: 4em;
 }
 
+td#saytd {
+	padding-top: 5px;
+}
+
+td#buttontd {
+	padding-left: 5px;
+}
 .whoinfo {
 	padding: 5px;
 	background: #fff;
@@ -85,17 +101,17 @@
 	height: 1.3em;
 }
 
-#textouter, #sayit {
+#textouter {
 	width: 100%;
 	height: 100%;
+	background: #000;
+}
+
+#textouter, #sayit {
 	overflow: auto;
 	white-space: pre-wrap;
 }
 
-#textouter {
-	background: #000;
-}
-
 #textlist {
 	padding: 5px;
 }
@@ -111,16 +127,11 @@
 
 #sayit {
 	height: 4em;
-	padding: 5px;
-	margin-top: 5px;
 	border: 1px solid black;
-	clear: left;
+	width: 100%;
+padding: 0;
 }
 
-form {
-	margin: 0;
-	padding: 0;	
-}
 
 form#logoutform {
 	text-align: center;
@@ -145,13 +156,13 @@
 
 .msg_content {
 	padding-left: 10em;
-	text-indent: -1em;
+	text-indent: -1.2em;
 	display: block;
 	word-wrap: break-word;
 }
 
 .msg_content.withts {
-	padding-left: 14em;
+	padding-left: 14.2em;
 }
 
 /* ************************************ */

Modified: trunk/webclient/templates/front.html
===================================================================
--- trunk/webclient/templates/front.html	2010-11-14 13:29:05 UTC (rev 1239)
+++ trunk/webclient/templates/front.html	2010-11-14 15:39:09 UTC (rev 1240)
@@ -10,9 +10,7 @@
 </tr>
 <tr id="inputtr">
 <td id="saytd">
-	<form action="" id="sayform">
-		<textarea name="sayit" id="sayit" onKeyDown="return submitenter(this,event)"></textarea>
-	</form>
+	<form action="" id="sayform"><textarea name="sayit" id="sayit" onKeyDown="return submitenter(this,event)"></textarea></form>
 </td><td id="buttontd">
 	<form action="{$self}" method="post" id="logoutform">
 		<input type="hidden" name="action" value="logout">

Modified: trunk/webclient/templates/main.html
===================================================================
--- trunk/webclient/templates/main.html	2010-11-14 13:29:05 UTC (rev 1239)
+++ trunk/webclient/templates/main.html	2010-11-14 15:39:09 UTC (rev 1240)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
 <head>
 <title>Milliways Talker</title>




More information about the mw-devel mailing list