View Full Version : Make the logo banner float to match different resolutions
setishock
03-13-2008, 08:12 PM
VB 3.7 beta 5
The logo banner is 1640 by 139 and replaced the out of the box logo. On my desk system the resolution is 1680 x 1050. On my laptop it's 1280 x 800. On the laptop the logo banner runs off the right side of the screen. On the desk system on which it was created, it works fine.
My question is:
How do you make the logo banner float to match the different screen resolutions?
www.animeappeal.com
I am not a coder so please have pity on me and make it simple.
carrlos
03-15-2008, 01:57 AM
AdminCP > Style Manager > Common Templates > header
Use this code:
<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/headbg.gif)">
<tr>
<td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt=""/></a></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/head_right.gif" alt="" /></td>
</tr>
</table>
</center>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
You have to split your header into three sections.
head_left.gif - the left most portion of your header
head_right.gif - the right most portion of your header
headbg.gif - a one or two pixel "filler" that will keep the header looking full no matter what the width. It should be solid for best effect.
Upload the three files to your /images/misc folder and you're ready!
anakayam.us
03-15-2008, 02:58 AM
u can setting ur banner to make more little.
setishock
03-23-2008, 11:17 AM
Thanks for answering my question. Sorry it took so long to get back to read it. I moved a good ways up the east coast last week and my brain is still reeling. I'll let you know what happens.
setishock
03-26-2008, 09:54 PM
Carrlos,
It works perfectly. Thank you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.