vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Style and Graphics Requests (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=226)
-   -   Pls Help Me Style Problem (https://vborg.vbsupport.ru/showthread.php?t=230376)

twista46 12-17-2009 10:07 AM

Pls Help Me Style Problem
 
I have i Littly Problem with Announcements in my Style

Its spring the Style

How can i fix it? :confused:

http://www.imgload.eu/images/problem.png

Lynne 12-17-2009 03:28 PM

I don't know what I'm supposed to see that is wrong in that image.

twista46 12-17-2009 04:26 PM

<a href="http://imgload.eu/images/problemaga.png" target="_blank">http://imgload.eu/images/problemaga.png</a>

The announcements will appear as much wider than the style of all.

Lynne 12-17-2009 06:10 PM

You'd have to look at the source code to see why that is. I can't tell just from an image.

twista46 12-17-2009 07:20 PM

What code need them?

ThyElite 12-18-2009 02:05 AM

dude u just have to reduce the footer PX

twista46 12-18-2009 05:34 AM

The Footer PX is correct. The style shifts only when the announcements everything else is ok.

twista46 12-21-2009 02:55 PM

*push* pls help me :(

Lynne 12-21-2009 04:02 PM

It's very hard to tell what is wrong just from an image. Here's a suggestion on how you can figure it out.

View your site in that style. Grab the page source for the page and paste it into a text editor. Now change to a totally default vbulletin style and grab the page source for th page and paste it into a text editor. Now compare the two.

Hell Bomb 12-21-2009 04:10 PM

Hmmm from the image it looks to me like you need to edit the announcement width in the navbar template. Perhaps you do not have the $spacer_open in the right spot. If you send me link to your website i can take a look for you.

twista46 12-21-2009 05:29 PM

This is my announcements Template. The Forum Style is 900px

PHP Code:

$stylevar[htmldoctype]
<
html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
    
<title>$vboptions[bbtitle] - $vbphrase[announcements_in_forum] : $foruminfo[title_clean]</title>
</
head>
<
body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="900" align="center" style="border-bottom-width: 0px">
<
tr>
    <
td class="tcat">
        <if 
condition="$show['viewall']">
            <
span class="smallfont" style="float:$stylevar[right]">
                <
a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[view_all_announcements]</a> ($anncount[total])
            </
span>
        </if>

        <if 
condition="$show['global']">
        
$vbphrase[global_announcement]
        <else />
        
$vbphrase[announcements_in_forum]<span class="normal"> : <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
        </if>
    </
td>
</
tr>
</
table>

<!-- 
end content table -->
$spacer_close
<!-- / end content table -->

<
div id="posts">$announcebits</div>

<!-- 
start content table -->
$spacer_open
<!-- / start content table -->

<
br />

<
table cellpadding="0" cellspacing="0" border="0" width="900">
<
tr>
    <
td width="900">&nbsp;</td>
    <
td>$forumjump</td>
</
tr>
</
table>

$footer

</body>
</
html


Hell Bomb 12-21-2009 11:06 PM

You to put px at the end of 900 but instead try and use the code i posted below. It will auro adjust every time you change your forum width.

HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
        <title>$vboptions[bbtitle] - $vbphrase[announcements_in_forum] : $foruminfo[title_clean]</title>
</head>
<body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center" style="border-bottom-width: 0px">
<tr>
        <td class="tcat">
                <if condition="$show['viewall']">
                        <span class="smallfont" style="float:$stylevar[right]">
                                <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[view_all_announcements]</a> ($anncount[total])
                        </span>
                </if>

                <if condition="$show['global']">
                $vbphrase[global_announcement]
                <else />
                $vbphrase[announcements_in_forum]<span class="normal"> : <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
                </if>
        </td>
</tr>
</table>

<!-- end content table -->
$spacer_close
<!-- / end content table -->

<div id="posts">$announcebits</div>

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
        <td width="100%">&nbsp;</td>
        <td>$forumjump</td>
</tr>
</table>

$footer

</body>
</html>


twista46 12-22-2009 07:55 AM

If, unfortunately, still do not. The announcement is still Wider than the actual width forums

http://www.imgload.eu/?v=desk4.png


All times are GMT. The time now is 02:05 AM.

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.01215 seconds
  • Memory Usage 1,768KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete