Improve icon, header spacing

This commit is contained in:
Sean Owen 2014-09-11 12:09:30 +01:00
parent 13be5de462
commit 2d280f7b14
4 changed files with 4 additions and 3 deletions

View file

@ -27,7 +27,7 @@
<body>
<div id="main">
<div id="header">
<h1><img src="zxing-icon.png" height="32" width="32" alt=""/> ZXing Decoder Online</h1>
<h1><img src="zxing-icon.png" id="icon" alt=""/> ZXing Decoder Online</h1>
</div>
<p>Decode a 1D or 2D barcode from an image on the web. Supported formats include:</p>
<table><tr>

View file

@ -39,7 +39,7 @@
</head>
<body>
<div id="main">
<div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Decode Succeeded</h1></div>
<div id="header"><h1><img src="zxing-icon.png" id="icon" alt=""/> Decode Succeeded</h1></div>
<jsp:scriptlet>
@SuppressWarnings("unchecked")
Iterable&lt;Result&gt; results = (Iterable&lt;Result&gt;) request.getAttribute("results");

View file

@ -25,7 +25,7 @@
</head>
<body>
<div id="main">
<div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> <c:out value="${requestScope['title']}"/></h1></div>
<div id="header"><h1><img src="zxing-icon.png" id="icon" alt=""/>&amp;nbsp;<c:out value="${requestScope['title']}"/></h1></div>
<p><c:out value="${requestScope['text']}"/></p>
</div>
</body>

View file

@ -8,3 +8,4 @@ table#result td{background-color:#dde3e9}
table#result pre{margin:0}
#header{background-color:#dde3e9;border-bottom:1px solid #dde3e9}
#header h1{font-size:24px;padding:12px;margin:0}
img#icon {vertical-align:middle;height:32px;width:32px}