Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Aug 2008, 04:56
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
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 05 Aug 2008, 09:29
Opserty Opserty is offline
 
Join Date: Apr 2007
AdminCP > Styles & templates > Style Manager > Main CSS

In the first set of boxes there will be something like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or something similar, you need to change that to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 06 Aug 2008, 22:30
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
Yes I've tried that and yet its failed.
Reply With Quote
  #4  
Old 06 Aug 2008, 22:38
RLShare RLShare is offline
 
Join Date: Jun 2008
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 07 Aug 2008, 05:23
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
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 07 Aug 2008, 06:36
RLShare RLShare is offline
 
Join Date: Jun 2008
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 07 Aug 2008, 11:00
Opserty Opserty is offline
 
Join Date: Apr 2007

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 07 Aug 2008, 14:48
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
eeek, you need someone to look into your HTML - it's horrible
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #9  
Old 07 Aug 2008, 18:03
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
Lol, I'm quite aware its horrible, that is why I needed help

--------------- Added 07 Aug 2008 at 18:05 ---------------

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

Last edited by Emfulz; 07 Aug 2008 at 18:05. Reason: Auto-Merged DoublePost
Reply With Quote
  #10  
Old 07 Aug 2008, 18:30
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
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
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #11  
Old 07 Aug 2008, 18:41
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
I only edited the header though.
Reply With Quote
  #12  
Old 07 Aug 2008, 19:16
RLShare RLShare is offline
 
Join Date: Jun 2008
[email protected] that repsonse. I told you about some problems in your coding and told you how to fix them. How you took offense to that I have no Idea.

Btw to start fixing it... you will need to remove all of this code from your header....


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #13  
Old 07 Aug 2008, 21:39
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
Okay, I've removed that still it remains about the same,

i'll open up dream weaver and see what I can take out regarding the bad codes.
Reply With Quote
  #14  
Old 07 Aug 2008, 21:41
Opserty Opserty is offline
 
Join Date: Apr 2007
If you are trying to code using the "Design" view, you are just going to be adding more bad code.
Reply With Quote
  #15  
Old 07 Aug 2008, 21:46
Emfulz Emfulz is offline
 
Join Date: Nov 2007
Real name: Alex
I got it thanks guys

no i'm not that nooby I had to just add
<style type="text/css">
body{margin-top:0px;
margin-bottom:0px;}
</style>
In my header Template
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 23:35.

Layout Options | Width: Wide Color: