vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   style problem .. (https://vborg.vbsupport.ru/showthread.php?t=146128)

Daky 08-23-2007 02:42 PM

Somebody pls help me ...

Thanks! ;)

Lynne 08-23-2007 04:17 PM

You have this div tag right before the table:
Code:

<div style="padding:0px 25px 0px 25px">
It is giving you a padding of 25px for both the left and right. Is that perhaps the problem you are having?

Daky 08-23-2007 04:38 PM

:/

Well, might be, i am not sure.
I am no expert in this, its more like newbie :))

I really would need like .. someone to tell me exactly what to do ... about this problem.

Thank you tho :)

Lynne 08-23-2007 04:57 PM

If you go to Admin CP > vBulletin Options > General Settings, you can turn on "Add Template Name in HTML Comments" and then when you look in the source code of the page, you can see which template that div tag is located in. Then you can remove the style part of the div tag and see if the page then renders how you want it.

Daky 08-23-2007 05:40 PM

Hi,
looks like spacer_open is the problem, but, i dont know what to remove\add\modify there.

I tried to remove :
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">

That did not help.

Here is full code of spacer_open:

<!-- open content container -->
<if condition="$show['old_explorer']">
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
<div align="center">
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

Thank you!
D

Stickers 08-23-2007 06:15 PM

I got the same problem when i add the ads google in the 1first post and last, maybe for you the Marketing hack is the problem,

Daky 08-23-2007 07:37 PM

Hi,

I just tried disabling that hack, still, the same problem.

D

Lynne 08-24-2007 03:13 PM

Well, I would either try changing the div tag to simply <div> or I would go into my Style Vars and set "spacersize" to 0 and see if that fixes the problem.

Daky 08-24-2007 03:25 PM

Hi,

Just tried both of them, still the same problem.

Any other advice?

Thanks,
D

Lynne 08-24-2007 04:39 PM

There are three places in the showthread where you have spacer_open. When I saved your page to my comp, I replaced all three of the div tags (the one with the 25px left/right padding) with a plain div tag. It got rid of the problem, however it also got rid of the 25px left/right padding on that page. I think you need to find where the spacer_open template gets called in the postbit_wrapper template and get rid of it (and spacer_closed in there too) and see if that fixes the problem. Don't forget to do a force refresh on the page because you should have seen a difference before.


All times are GMT. The time now is 08:05 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.01154 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete