Skip to content

Commit 108f52b

Browse files
committed
Zero values do not need length units in styles
1 parent 332fa35 commit 108f52b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: webware/Examples/FileUpload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ def writeContent(self):
5050
<tr><th>headers</th><td>{f.headers}</td></tr>
5151
<tr><th>size</th><td>{len(contents)} bytes</td></tr>
5252
<tr><th style="vertical-align:top">contents</th>
53-
<td><pre style="font-size:small;margin:0pt">{contentString}</pre></td></tr>
53+
<td><pre style="font-size:small;margin:0">{contentString}</pre></td></tr>
5454
</table>'''
5555
self.writeln(output)

Diff for: webware/ExceptionHandler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def htStyle():
663663
color: #080810;
664664
font-size: 11pt;
665665
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
666-
margin: 0pt;
666+
margin: 0;
667667
padding: 8pt;
668668
}
669669
h2.section {

Diff for: webware/error404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<body style="color:black;background-color:white;font-size:12pt;font-family:sans-serif;padding:16pt">
55
<h1 style="color:#008">Error 404</h1>
66
<h2 style="color:#c00">Page Not Available</h2>
7-
<p style="padding:2ex 0pt; border-style:solid none;border-width:thin;border-color:black">
7+
<p style="padding:2ex 0; border-style:solid none;border-width:thin;border-color:black">
88
The page you requested, <strong>{}</strong>, was not found on this server.</p>
99
</body>
1010
</html>

0 commit comments

Comments
 (0)