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)
-   -   Annoying 100% border on login.php (https://vborg.vbsupport.ru/showthread.php?t=163019)

richaldridge 11-18-2007 12:12 PM

Annoying 100% border on login.php
 
1 Attachment(s)
Hi guys,

If you view the attached screen-shot, what I'm about to ask will make more sense

Basically the outside border sits at 100% (my forum uses 100% width).

However, on the login page this looks plain daft, so I need to change something so either the border is removed (for this page only), or ideally for the border to sit around the logn box in the centre of the screen.

Could someone point me in the right direction please?

Thanks,
Richard

(Also posted on vB.com but not had any response)

Millenium IT 11-18-2007 12:23 PM

You know, the weird thing is, that page isnt even suppose to have a border on it O.o

richaldridge 11-18-2007 12:35 PM

LOL, don't say that!

Well the rest of my site is supposed to have a 100% black border, so I'm assuming that when designing the site, we've put a tag in the wrong place.

As a long shot, could you suggest the best place to look?

Millenium IT 11-18-2007 01:09 PM

Ok gimee a second

--------------- Added [DATE]1195398931[/DATE] at [TIME]1195398931[/TIME] ---------------

Could you please provide me with the template contents of your "STANDARD_REDIRECT" template?

richaldridge 11-18-2007 01:28 PM

Assume this is the correct file? Thanks in advance for your help.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="!$postvars">

        <noscript>
        <meta http-equiv="Refresh" content="2; URL=$url" />
        </noscript>

        <script type="text/javascript">
        <!--
        function exec_refresh()
        {
                window.status = "$vbphrase[redirecting]" + myvar;
                myvar = myvar + " .";
                var timerID = setTimeout("exec_refresh();", 100);
                if (timeout > 0)
                {
                        timeout -= 1;
                }
                else
                {
                        clearTimeout(timerID);
                        window.status = "";
                        window.location = "$js_url";
                }
        }
       
        var myvar = "";
        var timeout = 20;
        exec_refresh();
        //-->
        </script>
</if>
$headinclude
<title>$pagetitle</title>
</head>
<body>

<br />
<br />
<br />
<br />

<form action="$formfile" method="post" name="postvarform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
        <td class="tcat">$vbphrase[redirecting]</td>
</tr>
<tr>
        <td class="panelsurround" align="center">
        <div class="panel">
                       
                <blockquote>
                        <p>&nbsp;</p>
                        <p><strong>$errormessage</strong></p>                       
                        <if condition="$postvars">
                                $postvars
                                <p id="click_here_p" class="smallfont">$vbphrase[click_the_following_button]</p>
                                <input type="submit" class="button" value="$vbphrase[proceed]" accesskey="s" />
                        <else />
                                <p class="smallfont"><a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>
                                <div>&nbsp;</div>
                        </if>
                </blockquote>
                       
        </div>
        </td>
</tr>
</table>
</form>

<if condition="$postvars">
<!-- redirect with POST -->

<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';
function submit_form()
{
        window.status = "Redirecting" + myvar;
        myvar = myvar + " .";
        timerID = setTimeout("submit_form();", 100);
        if (timeout > 0)
        {       
                timeout -= 1;
        }
        else
        {
                clearTimeout(timerID);
                window.status = "";
                document.forms.postvarform.submit();
        }
}

myvar = "";
timeout = 18;
submit_form();
//-->
</script>
       
<!-- / redirect with POST -->
</if>

</body>
</html>


Millenium IT 11-18-2007 01:33 PM

Well, its definitly not in the template. The only other thing that I think it could be is a CSS code wich is causing this. Check your aditional CSS defenitions for anything that might be the result of whats happenening, thats all I can think of. Sorry I cant be of any better help :/

--EDIT--

You also might want to take a look at the CSS definitions for your "surround panel" block, think it might be something there thats causing this to happen.

richaldridge 11-18-2007 01:43 PM

Will try and have a look now - I'm fine with the basics, but I'm not a seasoned expert lol.

Thanks,
Richard

Edit: The CSS entry for "Surround Panel" is the standard version - nothing has been added.

Millenium IT 11-18-2007 01:50 PM

Then I'm truly mistified, no ideas :( maybe someone else will come across this topic and know what to do :(

richaldridge 11-18-2007 01:52 PM

Quote:

Originally Posted by Millenium IT (Post 1384924)
Then I'm truly mistified, no ideas :( maybe someone else will come across this topic and know what to do :(

I hope so - it's the only real bug I have left on my site.

Spent ages looking for the error, but with no joy. Thanks for trying though. Can anyone else offer a suggestion?

Richard

Gray Matter 11-18-2007 11:52 PM

Where did you add the border? Body tag definition? Additional CSS? "headinclude"?


All times are GMT. The time now is 04:54 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.01243 seconds
  • Memory Usage 1,745KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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