vBulletin Mods

The Official vBulletin Modifications Site

Add banner stretched across header
by Greek76
08 Oct 2020 21:45

I'm trying to make my banner stretch across the whole forum but its not working with the code I'm adding. Can someone point out what I'm doing wrong? Thanks!


<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<td align="left"><a href="https://www.example.com/forum/forum.php"/><img src="/index/we3.gif" border="0" width="100%"/></a></td>
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">

<!-- content table -->
--------------- Added 09 Oct 2020 at 21:13 ---------------

Wow this forum really is dead.. What a shame. It used to be so busy.

TheLastSuperman 17 Oct 2020 00:13

Try this, it will also help you understand some basic CSS if you're new to that as well! :)
Edit: Take out the <td> and table-related codes, a good rule of thumb is to always use <div> class or style whenever possible in vB4. The table codes are older and only used when applicable per case-use or situation. Div classes and inline style are more modern for vB4, you can also pull off the same if not better appearance using div classes with CSS definitions.


All times are GMT. The time now is 13:51.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.