The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hey,
I am trying to center my header but it just doesn't work, i tried playing around and still didn't get how to center it. or trying to use a bigger banner , width wise Quote:
Code:
<!-- logo --> <a name="top"></a> <center> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" background="$stylevar[imgdir_misc]/header_bg.jpg"> <tr> <td valign="top" width="296"><img src="$stylevar[imgdir_misc]/header_left.jpg" width="516" border="0"></a></td> <td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/header_right.jpg" alt="" /></td> </tr> </table> </center> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
#2
|
|||
|
|||
![]()
Header code
Code:
<!-- logo --> <a name="top"></a> <td align="$stylevar[center]"> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" background="$stylevar[imgdir_misc]/header_bg.jpg"> <tr></td> <td align="$stylevar[left]"><td valign="top" width="296"><img src="$stylevar[imgdir_misc]/header_left.jpg" width="516" border="0"></a></td> <td align="$stylevar[right]"><td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/header_right.jpg" alt="" /></td> </tr> </table> </center> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
#3
|
|||
|
|||
![]()
Can something like this be done to the Forum Jump also, to center it?
|
#4
|
|||
|
|||
![]()
i will just check how i centered the header on my forum ill post back or edit.
[edit] yeh that should work |
#5
|
|||
|
|||
![]()
Thanks for checking. Now I have to see how exactly I modify the code to work with $forumjump.
I tried Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr> <td align="center"> $forumjump (and all the rest of the forumjump code) </td> </tr> </table> The code worked at this neat test table html window: http://www.davesite.com/webstation/html/chap12.shtml There seems to be some code aligning the forumjump code to the left. ADD: apologies for interrupting the thread ![]() |
#6
|
||||
|
||||
![]() Quote:
|
#7
|
||||
|
||||
![]()
I can't even use a bigger banner =/ current default width 516, if i use a banner around 700 width, it doesn't show it all, it only show it until the 516 width, i tried to edit the header code from 516 to 700 and the banner was even more messed up.
|
#8
|
||||
|
||||
![]()
Briefly looking over your code the <td> tags are out of place. While the code (below) may not resolve the entire issue it will make things more managable:
Code:
<!-- logo --> <a name="top"></a> <div style="margin:0 auto"> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" background="$stylevar[imgdir_misc]/header_bg.jpg"> <tr valign="top"> <td align="$stylevar[left]" width="516px"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/header_left.jpg" border="0" /></a></td> <td align="$stylevar[right]"><img src="$stylevar[imgdir_misc]/header_right.jpg" alt="" /></td> </tr> </table> </div> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output After you apply these changes we can go from there. Since I don't have the URL to your site I'll need to see the images: header_bg.jpg header_left.jpg header_right.jpg |
#9
|
|||
|
|||
![]()
do ya want me to give it a go on your forum link me to it and make me a user make me admin and restrict my perms to styles and languages and send me the info via pm of password sit link and username and ill give it a go
![]() |
#10
|
||||
|
||||
![]()
Seriously, you don't need admin access to fix the issue. I can help you without it.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|