vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Aligning vb to the top (https://vborg.vbsupport.ru/showthread.php?t=187251)

Emfulz 08-05-2008 03:56 AM

Aligning vb to the top
 
How do I put my vbulletin to the very top
{ margin-top:0; }

isnt it something like that. but where do i put this at.

Opserty 08-05-2008 08:29 AM

AdminCP > Styles & templates > Style Manager > Main CSS

In the first set of boxes there will be something like
Code:

margin:5px 10px 5px 10px;
Or something similar, you need to change that to:
Code:

margin:0;

Emfulz 08-06-2008 09:30 PM

Yes I've tried that and yet its failed.

RLShare 08-06-2008 09:38 PM

On the 'All style options' page of your skin add this to the extra CSS attributes box
margin: 0px;
padding: 0px;

If it does not work then you would need to show us the page as its something else causing it to be margined from the top.

Emfulz 08-07-2008 04:23 AM

Okay i tried that and I put it in like every Part, body, header, footer, everything. Still nothing my website is http://www.360revamped.com/forums/ Im making this style as I go its a custom made :D

RLShare 08-07-2008 05:36 AM

First off, why do you have multiple head tags and body tags? You do not need to add your own body or head tags... The HeadInclude template is in your header and the header is the right after the opening body tag.

Second, you can add your own CSS to the Extra CSS attributes on the all style options page and the doctype as well. No need to put it in the header or anywhere else.

Opserty 08-07-2008 10:00 AM

Code:

<tbody><tr>
        <td colspan="3">&nbsp;</td>
        </tr>
<tr><td rowspan="2">&nbsp;</td>
                <td rowspan="2">&nbsp;</td>
                <td>
                        <div align="center"></div></td>
</tr>
        <tr>
                <td><img id="index_06" src="images/index_06.jpg" alt="" width="304" height="1"></td>
        </tr>

        <tr>
         
</tr></tbody>

The code you posted in your original post is invalid, so it won't do anything. Best to remove it.

Princeton 08-07-2008 01:48 PM

eeek, you need someone to look into your HTML - it's horrible

Emfulz 08-07-2008 05:03 PM

Lol, I'm quite aware its horrible, that is why I needed help :)

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

Quote:

Originally Posted by RLShare (Post 1593153)
First off, why do you have multiple head tags and body tags? You do not need to add your own body or head tags... The HeadInclude template is in your header and the header is the right after the opening body tag.

Second, you can add your own CSS to the Extra CSS attributes on the all style options page and the doctype as well. No need to put it in the header or anywhere else.

I'm not a professional Coder, I'd really appreciate it if you cannot handle my stupidity with Coding, then you no longer post in this thread. Thanks

Princeton 08-07-2008 05:30 PM

this is not a simple change - you need someone to look into your style
(most likely, you have problems in multiple templates)

for starters, remove the duplicate <head> and <body> tags

etc, etc


All times are GMT. The time now is 08:10 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.01032 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)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