The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can't Get Header to Line Up with Body
I'm having issues with getting my header to line up with the rest of my forums. I've attached an image of the upper-right corner. I'm trying to get the header to align with the body of the forums, but I'm not having much luck. This is happening on both the right and left sides of the header.
My header template looks like this: PHP Code:
|
#2
|
|||
|
|||
It's funny you should mention this but I am fighting the exact same problem using almost the exact same code you are at:
http://www.michigan-sportsman.com/fo...splay.php?f=60 |
#3
|
|||
|
|||
I don't know if this will help you, but this is what I did. forum.autocareforum.com
Now the funny thing is that the same code is used in the footer, and works correct. Someplace I read that you make a table with 3 colums in it, placing a background & images in each, but in the middle one, just put in the background, a 1px image, and say repeat. It will fill up the column to adjust to the size of the browser screen. <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="95%" align="center" background="/images/blue_black-10x120.jpg"> <tr> <td align="left"><img src="images/transparent.gif" width="1" height="1" /><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" border="0" > <iframe width="620" height="100" frameborder="0" scrolling="no" target="_top" align="right" src="http://www.autocareforum.com/cgi-bin/banner_grp?214,130" /> </iframe> </td> </tr> </table> |
#4
|
|||
|
|||
I think there must be a more straight forward way....
This is really frustrating. I can't see why my header as coded: Code:
<!-- logo --> <a name="top"></a> <table width="$stylevar[outertablewidth]" height="300" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <img src="http://www.michigan-sportsman.com/images/fall_slice1.jpg" alt="" width="400" height="301" border="0" usemap="#Header_Map"> <map name="Header_Map"> <area shape="rect" alt="MI Weather" coords="62,195,209,220" href="http://www.michigan-sportsman.com/weather.htm"> <area shape="rect" alt="MS.com Stuff" coords="63,173,190,194" href="http://www.michigan-sportsman.com/apparel.htm"> <area shape="rect" alt="Hunting Articles" coords="63,154,205,172" href="http://www.michigan-sportsman.com/hunting_articles/hunting_library.htm"> <area shape="rect" alt="Fly Patterns" coords="64,131,183,151" href="http://www.michigan-sportsman.com/fly_pictures/bettymcnault.htm"> <area shape="rect" alt="Fishing Articles" coords="63,108,203,128" href="http://www.michigan-sportsman.com/fishing_articles/fish_library.htm"> <area shape="rect" alt="Home" coords="63,86,143,106" href="http://www.michigan-sportsman.com/"> </map> </td> <td background="http://www.michigan-sportsman.com/images/fall_slice2.jpg" width="100%" height="301" alt="" align="right" style="background-repeat: no-repeat;"> <table width="100% border="0"> <tr> <td colspan="2"> <div align="right"> <SCRIPT LANGUAGE="JavaScript"> random = parseInt(Math.random()*1000) banner = '<IFRAME src="http://www.michigan-sportsman.com/cgi-bin/adsbanner.pl?iframe; allowTransparency="true" MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=NO WIDTH=470 HEIGHT=90>' banner += '<A HREF="http://www.michigan-sportsman.com/cgi-bin/adsbanner.pl?banner=NonSSI;zone=banner;' banner += 'page=' + random + '" TARGET="_blank">'; banner += '<IMG SRC="http://www.michigan-sportsman.com/cgi-bin/adsbanner.pl?' banner += 'page=' + random + '"' banner += ' ALT="Click Here!" BORDER=0></A>' banner += '</IFRAME>' document.write(banner) </SCRIPT> </div> </td> </tr> <tr> <td> <div align="right"> <br><a href="http://www.michigan-sportsman.com/sponsors.htm"><b>View our sponsors</b></a><br> <a href="http://www.igreatlakes.com/ads.htm">Be a sponsor</a> </div> </td> <td> <div align="right"> <SCRIPT LANGUAGE="JavaScript"> banner = '<IFRAME src="http://www.michigan-sportsman.com/cgi-bin/adsbutton.pl?iframe;" allowTransparency="true" STYLE="background-color: #F0F4D8" MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=NO bgcolor="#F0F4D8" WIDTH=125 HEIGHT=170>' banner += '<A HREF="http://www.michigan-sportsman.com/cgi-bin/adsbutton.pl?banner=NonSSI;zone=button;' banner += 'page=' + random + '" TARGET="_blank">'; banner += '<IMG SRC="http://www.michigan-sportsman.com/cgi-bin/adsbutton.pl?' banner += 'page=' + random + '"' banner += ' ALT="Click Here!" BORDER=0></A>' banner += '</IFRAME>' document.write(banner) </SCRIPT> </div> </td> </tr> </table></td> </tr> </table> <!-- /logo --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|