Browse Source

htdocs: adds width/height for logo to take up space before loaded

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1075 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
388b3cffb5
  1. 3
      htdocs/common/common.css
  2. 2
      htdocs/common/header.tpl.php
  3. BIN
      htdocs/common/xcache.png

3
htdocs/common/common.css

@ -46,7 +46,8 @@ h1, h2, h3, h4, h5, h6 {
#header #banner #logo {
display: block;
float: left;
padding-right: 5px;
margin-right: 5px;
background: white;
}
#header #mainnav {
top: 3px;

2
htdocs/common/header.tpl.php

@ -14,7 +14,7 @@
<body>
<div id="header">
<div id="banner">
<a href="http://xcache.lighttpd.net/" target="_blank"><img src="../common/xcache.png" id="logo" />
<a href="http://xcache.lighttpd.net/" target="_blank"><img src="../common/xcache.png" id="logo" width="175" height="51" />
<?php echo $xcache_version; ?> - <?php echo ucfirst($GLOBALS['module']); ?>
</a>
</div>

BIN
htdocs/common/xcache.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Loading…
Cancel
Save