
09-02-2003, 09:51 AM
|
|
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
|

09-02-2003, 10:23 AM
|
|
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>
|

09-02-2003, 10:27 AM
|
|
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
|

09-02-2003, 11:05 AM
|
|
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;
}
|

09-02-2003, 11:10 AM
|
|
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
|

09-02-2003, 06:50 PM
|
|
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.
|

09-03-2003, 10:53 AM
|
|
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.
|

09-03-2003, 12:06 PM
|
|
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
|

09-03-2003, 12:23 PM
|
|
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.
|

09-03-2003, 12:30 PM
|
|
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
|

09-03-2003, 03:35 PM
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|