hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Simple vBulletin body tag question
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

Simple vBulletin body tag question

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-02-2003, 09:51 AM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061

Simple vBulletin body tag question


I'm working with the latest verion (3.0.0 Beta 5). When in my Admin Panel, I'm trying to find the body tag for the default template. All I want to do is set marginwidth, marginheight, etc. to 0. But I just can't find the body tag anywhere.

Please show me the way...

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote


Sponsored Links
  #2  
Old 09-02-2003, 10:23 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
Do it properly though CSS as marginwidth, marginheight are not valid XHTML attribute types for <body>

Reply With Quote
  #3  
Old 09-02-2003, 10:27 AM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Thanks, Rich. I just found it in the CSS section. Still doesn't work, though. What I did was add

LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0

in the Extra CSS Attributes of the Body tag. Doesn't work. I even tried replacing the = with :. Still no change. I feel I'm overlooking something very simple...

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
Sponsored Links
  #4  
Old 09-02-2003, 11:05 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
You can't just move the HTML attributes to CSS they are different

try

body {
margin: 0px;
padding: 0px;
}

Reply With Quote
  #5  
Old 09-02-2003, 11:10 AM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Excellent. That did the job very nicely.

Many thanks, Rich!!!

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
  #6  
Old 09-02-2003, 06:50 PM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
BTW you can actually replace the body tag. Under 2.3 it was under MODIFY STYLES -> PAGE LAYOUT -> BODY TAG

However I have an owned license and don't have the upgrade capability at the moment so I haven't got around to version 3 yet.

Reply With Quote
  #7  
Old 09-03-2003, 10:53 AM
Ionsurge Ionsurge is offline
Aspiring Evangelist
 
Join Date: Feb 2003
Location: United Kingdom
Posts: 416
In vBulletin 3, you can go to Styles & Templates -> Style Manager -> Select Edit Fonts, Colours -> Go -> All Styles Options -> Body

From there you can add the body tags to the body text field. All you need to add are the two lines between the {}'s in Rich2k's previous post.

Reply With Quote
  #8  
Old 09-03-2003, 12:06 PM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Thanks, Ionsurge. That's exactly what I did and it worked great.

One other thing I can't figure out. Yesterday I bought a button set to replace the standard VB set. But when looking at the various button file names, the new names don't match the old ones. I would've thought they would be exactly the same so that all you have to do is upload the new buttons to the images directory to overwrite the old ones.

It seems that the only way for that to happen is to rename all the new buttons. Is there an easier way to add a new button set without all that work?

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
  #9  
Old 09-03-2003, 12:23 PM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
I doubt there are many sets for vBulletin 3 yet as it's still only a beta. Most likely those buttons were designed for vBulletin 2.

You can still use them, just remember to change the location of the images in the templates.

Reply With Quote
  #10  
Old 09-03-2003, 12:30 PM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Oh, I never thought of that. Perhaps the set I bought was for VB2? I had assumed that the specs for button sets would not have changed in the newer version.

OK, so I upload them to a new directory on the server, and I change the location of the images in the templates. But then will I not have a problem because the file names are different? Do I still have to go in and rename them all?

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
  #11  
Old 09-03-2003, 03:35 PM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
In vB2 and vB1 you used to just be able to type a new file name in the styles panel. I assume something similar has been carried across to vB3

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36
cPanel Conference 2012: Social Media for Customer Service with Mario Rodriguez Web Hosting News 2012-10-10 15:12:10
Video Demo: Yola Website Building Software Whir Tv 2012-05-14 16:05:42
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Namesco Provides Free Domains for Companies Made Simple Customers Web Hosting News 2012-01-31 13:36:44


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?