
Re: My Banner In Milky Way
It worked, but there are some troubles
First of all, I should tell you that I changed the Template width to 750px (I've edited
_mg_config.html). I have some trouble with that too (you can read it here:
http://www.icyphoenix.com/viewtopic...&p=30739#p30739 ). But that's an other problem. I tell you this, because this made me change the width of the Banner I've made.
However, I did what you told me to. The only thing I've changed was the new "width of 750px". I made my Banner in
200x750 and a Transparent Gif in
200x750
To change the background image:
OPEN
theme/stylesheet.css
FIND
#top_logo{
border-width: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background: url('./images/top_header.png') repeat;
height: 150px;
}
REPLACE WITH
#top_logo{
border-width: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background: url('./images/top_header.jpg') no-repeat;
height: 200px;
}
I did this. But when I refresh the Template to see the changes, I noticed that there was a blank space after the Banner. Just like if the Banner wasn't width enough. But that couldn’t be, because the Banner is 750px width, and the Template is 750px width.
And for the Link I have done a transparent gif
OPEN
imageset/imageset.cfg
FIND
img_site_logo = sitelogo_small.png*100*300
REPLACE WITH
img_site_logo = sitelogo_small.gif*200*400
I did this too. Only that the
sitelogo_small.gif is 200x750. This worked fine: the Banner links to the index page. However, the blank space continued there.
Now the last one:
OPEN
template/overall_header.html
FIND
<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td align="right" valign="top"> </td>
</tr>
</table>
</div>
REPLACE WITH
<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="200" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td align="right" valign="top"> </td>
</tr>
</table>
</div>
I did this too. It worked fine.
However it look wired
In Internet Explorer it looks like this:
http://img365.imageshack.us/img365/4817/iehl2.jpg
The width of the Template is fine, but there is a blank space in the right side and in the bottom of the Banner.
In Firefox it looks like this:
http://img292.imageshack.us/img292/7318/47095905xc1.jpg
The width of the Template is not fine. The template is not centered: there is more blank space in the left side than in the right side. And there is a blank space in the right side of the Banner, but not in the bottom of it.
It's all kind of wired, isn't it?