Hmm, I'm still having problems linking to logo4.gif and having it look good in all browsers.
I'm now working from two possible (maybe) angles. First one looks good in all browsers I've tested it in, but I don't know how I shall make the link:
HTML part
Code:
<div class="borderwrap">
<div id="logostrip">
<div id="logographic"><!-- No Content -->
<div id="logosearch"><form action="form.php" method="post">
<input type="text" size="30" name="keywords" />
<input class="button" type="submit" value="{ipb.lang['sj_search']}" />
</form>
</div>
</div>
</div>
CSS part
Code:
#logostrip{
background: #547B9B url(<#IMG_DIR#>/tile_back.gif);
border: 1px solid #F1F1F1;
height: 50px;
margin: 0;
padding: 0;
}
#logographic{
background: transparent url(<#IMG_DIR#>/logo4.gif) no-repeat top left;
height: 50px;
margin: 0;
padding: 0;
}
#logosearch{
height: 10px;
float: right;
margin: 10px 5px 0px 0px;
padding: 0px;
text-align: right;
}
#logosearch input {
vertical-align: middle;
}
The second one is an attempt to add the logo into the html, but this causes the header to be twice as wide on the height in IE, and it pushes down the search field:
HTML part
Code:
<div class="borderwrap">
<div id="logostrip">
<div id="logographic"><a href='{ipb.script_url}'><!--logo.start--><img src='style_images/<#IMG_DIR#>/logo4.gif' style='vertical-align:top' alt='Eskobar Online' width='230' height='50' border='0' /><!--logo.end--></a>
<div id="logosearch"><form action="form.php" method="post">
<input type="text" size="30" name="keywords" />
<input class="button" type="submit" value="{ipb.lang['sj_search']}" />
</form>
</div>
</div>
</div>
CSS part
Code:
#logostrip{
background: #547B9B url(<#IMG_DIR#>/tile_back.gif);
border: 1px solid #F1F1F1;
height: 50px;
margin: 0;
padding: 0;
}
#logographic{
background: transparent;
height: 50px;
margin: 0;
padding: 0;
}
#logosearch{
height: 10px;
float: right;
margin: 10px 5px 0px 0px;
padding: 0px;
text-align: right;
}
#logosearch input {
vertical-align: middle;
}
Any ideas on how I could get this working?
Thank you!