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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2008, 03:56 AM
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Location: TransverseGFX.com
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 08-05-2008, 08:29 AM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Reply With Quote
  #3  
Old 08-06-2008, 09:30 PM
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Location: TransverseGFX.com
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I've tried that and yet its failed.
Reply With Quote
  #4  
Old 08-06-2008, 09:38 PM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 08-07-2008, 04:23 AM
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Location: TransverseGFX.com
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 08-07-2008, 05:36 AM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 08-07-2008, 10:00 AM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 08-07-2008, 01:48 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eeek, you need someone to look into your HTML - it's horrible
Reply With Quote
  #9  
Old 08-07-2008, 05:03 PM
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Location: TransverseGFX.com
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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
Reply With Quote
  #10  
Old 08-07-2008, 05:30 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 02:48 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.07225 seconds
  • Memory Usage 2,252KB
  • 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
  • (3)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