The Arcive of vBulletin Modifications Site. |
|
Banner in header Details »»
|
|||||||||||||||||||||||||
I have attached my current header. I need to be able to put my banner ad in there. So, I need to somehow move header.jpg to the background. Can anyone help?
Code:
<!-- logo --> <a name="top"></a> <table border="0" class="tborder" cellpadding="1" cellspacing="0" align="center" class="tborder"> <td align="center" background="/images/bo20/misc/headerunder.jpg"> <img src="/images/bo20/misc/header.jpg" width="823" height="98" border="0"> </td> </table> <!-- /logo --> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="830" align="center"> <td width="100%" height="36" background="/images/bo20/misc/headerunder.jpg"></td> </table> <!-- content table --> $spacer_open $_phpinclude_output Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
1st. Please don't double post.
You can only have one backgroun in your Tble Cell (<TD>) Tag. The only other way to do it is to embed another table. like this: Code:
<!-- logo --> <a name="top"></a> <table border="0" class="tborder" cellpadding="1" cellspacing="0" align="center" class="tborder"> <tr> <td align="center" style="background-image: url(/images/bo20/misc/headerunder.jpg)"> <table cellpadding="0" cellspacing="0" align="center" class="tborder"> <tr> <td align="center" style="background-image: url(/images/bo20/misc/header.jpg)"> <!-- Insert banner here --> </td> </tr> </table> </td> </tr> </table> <!-- /logo --> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="830" align="center"> <td width="100%" height="36" background="/images/bo20/misc/headerunder.jpg"></td> </table> <!-- content table --> $spacer_open $_phpinclude_output |
![]() |
|
|