The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help! header image not aligned properly
My forums header image aligns properly on both Internet Explorer 7 and Opera yet on Firefox, the entire header image aligns to the left by around 2 inches.
How can this be fixed? Help would be greatly appreciated Greg |
#2
|
|||
|
|||
You're going to get different looks on different web browsers.
Post your code. I also suggest you play around with some CSS to get it where you want. |
#3
|
|||
|
|||
What code do you want me to post? it's only this single thing that isn't working with firefox - everything else is fine.
|
#4
|
|||
|
|||
You can just add align="center" to the img tag like this.
Quote:
|
#5
|
|||
|
|||
Code:
<!-- logo --> <a name="top"></a> <table border="0" style="width:$stylevar[outertablewidth]px; margin-left:5px;" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#6
|
|||
|
|||
Are you using the ad_header_logo ad location. If not you can just use this code.
Code:
<!-- logo --> <a name="top"></a> <table border="0" style="width:$stylevar[outertablewidth]px; margin-left:5px;" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#7
|
|||
|
|||
Hey, thanks again for your quick reply - but upon entering this code, my header left aligned in IE7 by around a centrimetre, and didn't change at all in firefox.
God, this is a nightmare! |
#8
|
|||
|
|||
I tried this code on 3.7 beta 4 and it worked. So this should work for you.
Code:
<!-- logo --> <a name="top"></a> <table border="0" style="width:100%;" cellpadding="0" cellspacing="0" align="center"> <tr>f <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" align="center" /></a></td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#9
|
|||
|
|||
Thanks a million!! they should add a "thanks" mod on here, thanks for your patience!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|