Announcement

Collapse
No announcement yet.

Here's the code for my logo/header, why the world can't I get the same width as forum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Here's the code for my logo/header, why the world can't I get the same width as forum

    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 -->
    Here's how the page appears:
    http://www.michigan-sportsman.com/fo...splay.php?f=60

    The logo/header is always slightly wider than the forum table.
    This is driving me nuts.

  • #2
    Anybody? I have it setup to be a variable width header that floats with the different widths of my main forum table which works fine, but it's always a bit wider than the main forum table for some strange reason.

    Comment


    • #3
      Try changing the Spacer Size (pixels) value on the styles 'All Styles Options' page to 0, or add a left and right cellpadding to your header with the current value.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X