Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2005, 08:32 PM
alanduke alanduke is offline
 
Join Date: Nov 2005
Location: Bath,UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help Please

very new to this...

have a header...on one pc it looks bang on centre..

when i get home on my own pc its way over to the left...

Any ideas?

thanks in advance.
Reply With Quote
  #2  
Old 11-25-2005, 08:44 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post your header template please. make sure you put it inside [ code][ /code] tags.
Reply With Quote
  #3  
Old 11-25-2005, 08:45 PM
alanduke alanduke is offline
 
Join Date: Nov 2005
Location: Bath,UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know this is wrong..but like i said im new...

heres whats in the box...

Quote:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="$stylevar[center]" width="100%" >

<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="[center]" >
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Some pointers would be helpful..so i know for the next time..

thanks

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="$stylevar[center]" width="100%" >

<tr>
	<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="[center]"  >
		&nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

hope thats right...
Reply With Quote
  #4  
Old 11-25-2005, 08:53 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, it's the
Code:
$stylevar[center]
that's the problem. You need to just use
Code:
center
and it will do it.

Also you have a
Code:
<td align="[center]" >
you need to replace that with
Code:
<td align="center">
That will fix the problem. The $stylevar alignment can only be used for left or right.
Reply With Quote
  #5  
Old 11-25-2005, 08:57 PM
alanduke alanduke is offline
 
Join Date: Nov 2005
Location: Bath,UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorted that out..thanks mate...

next question..

why does it appear on two different pc's as 2 different sizes?

Is that simple to fix?
basically i want it to cover the top of the forum..

on one it does and on one it doesnt..
Reply With Quote
  #6  
Old 11-25-2005, 09:01 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Drop the
Code:
<td align="center">
		&nbsp;
	</td>
and it will fix that.
Reply With Quote
  #7  
Old 11-25-2005, 09:07 PM
alanduke alanduke is offline
 
Join Date: Nov 2005
Location: Bath,UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried that...still only half over the forum on this pc...but fully covers it on another...

heres the code i have left...

have i missed anything?

greatly appreciated


Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="center" width="100%" >


	<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
		
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #8  
Old 11-25-2005, 09:16 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just tried that code on my site and it works perfectly in IE, Firefox, and Opera.

Try doing a hard refresh on your browser as it could be a cached copy that is causing the problem.
Reply With Quote
  #9  
Old 11-25-2005, 09:30 PM
alanduke alanduke is offline
 
Join Date: Nov 2005
Location: Bath,UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant seem to get that one to work...

Someone else on the site has it covering half of the top too while some have it right across the top.

I have learned one thing today though, about the $stylevar. So thats a good start.
Reply With Quote
  #10  
Old 01-16-2007, 06:00 PM
UphillRacers UphillRacers is offline
 
Join Date: Jan 2007
Location: Germany
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just had a look to see what the centreing looked like out of interest.
Noted that your image file took a long time to download.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04611 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete