The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IE not centralizing table!
Hi
I added this code to the very bottom of postbit template to show Google Adsense Code:
<if condition="$post['islastshown']"> <div style="padding: $stylevar[cellpadding]px 0px 0px 0px"> <table align="center"> <tr> <td align="center"> Google Adsense Code </td> </tr> </table> </div> </if> but in my IE7 it's left justified! See this screenshot Attachment 103810 Any idea why? |
#2
|
|||
|
|||
Try removing the table, put the adsense code directly in the div, set the width of the div to fit the banner size(468px) and set the margin of the div as 'margin:0 auto;' to center the div.
|
#3
|
|||
|
|||
Thanks for the advice, now it's working
Code:
<if condition="$post['islastshown']"> <div align="center"> Google Adsense Code </div> </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|