CSS Coding?

Started by XEL October 9th, 2009 11:10 AM
  • 1061 views
  • 16 replies

Rukario

Banned

Somewhere in Ilex Forest
Seen April 6th, 2019
Posted March 17th, 2019
7,587 posts
20.7 Years
if you know how to do inline css / styles and create vb code tags then that's all you need as that's all it is..

Steve Z

Age 33
Male
Oakland FL
Seen March 6th, 2023
Posted September 15th, 2022
1,371 posts
17.7 Years
I'm not too familiar with vB anymore, but the HTML replacement would be something to this degree:
<div style="$1">$2</div>

PokéStorm is my Pokémon fansite. Join if you'd like!

Cello

Tonight!

Age 32
Male
get the mascot involved
Seen May 12th, 2012
Posted April 17th, 2012
1,498 posts
13.8 Years
Planning what you want and Knowing what you need are the key factors in adding tags onto your forums.
Adding CSS to your forums will require you to add multiple different tags, rather than just one such as the [css-div] tag.
Well, you could add just that one tag, but it would be a rather bland addition without some other CSS enabling tags.

vBulletin's manual explains every inch of managing a vB forum; including how to add custom BB code tags.
It isn't hard at all, you should give it a look sometime.

If you need an example of tags added in a vB forum (Pokecommunity being a big example), check at the very bottom of a thread.
You'll see a box labled "posting rules", and in it you'll notice that BB code is set to On, with BB code linking to another page.
If you click it, it takes you to a list of available tags to use on the PC forums as well as a small example explaining how to use them. It should point you in the right direction of knowing what tags you would want to add onto your forums nonetheless. :)


Now, for the addition of CSS tags onto your forums, you will have to know a hefty amount of coding.
If you aren't coding savvy, you should search around the vBulletin community for further help.
Yeah Football Fan!
Age 29
Seen November 20th, 2022
Posted July 15th, 2013
491 posts
15.7 Years
Hrmmm... The thing is, I'm really bad at CSS and the other Admin only knows PHP and Flash...
Can anyone of the PC staff give me a list of the codes I can add to my site so that we may add things like background colors to our posts? and The the whole thing where a sig pic can have multiple links on it?

Steve Z

Age 33
Male
Oakland FL
Seen March 6th, 2023
Posted September 15th, 2022
1,371 posts
17.7 Years
Simple google search gives the answer
http://www.vbulletin.com/docs/html/bbcode_add
<div style="{option}">{param}</div>

PokéStorm is my Pokémon fansite. Join if you'd like!

AJ™

ANGRY FAIC!!!

Age 29
Male
I'm on a boat!
Seen February 8th, 2019
Posted February 24th, 2014
1,494 posts
15.3 Years
Here's a screenshot of what you have to put in
The example is kinda cut off, but it's: [css-div="border: 2px black dotted; background-color: green; color: white;"]Hello There! This is CSS![/css-div]

Steve Z

Age 33
Male
Oakland FL
Seen March 6th, 2023
Posted September 15th, 2022
1,371 posts
17.7 Years
You keep saying you don't know, yet we all keep telling you exactly what to do, and you say you don't know again. 3 seconds of searching, and maybe 5 minutes of reading, and you would have known how to do this yesterday, but you refused telling us you don't know.

PokéStorm is my Pokémon fansite. Join if you'd like!

Serene Grace

Pokémon Trainer

Age 28
Male
England
Seen September 25th, 2016
Posted December 31st, 2014
3,424 posts
14.1 Years
@haunter: Yea. I never thought of going to search some guides. If I didn't search I wouldn't be here. I'm asking for help because I don't understand the guides.

@AJ and Mizaki: thats not the only code I need right? Like, that acts as the basis? or Will that enable all the fancy CSS?
Yup, that's all you need. Once you put in the HTML replacement, all you have to ddo is put the css-div code into your signature/post.

Make sure you have the HTML Replacment as:

<div style="{option}">{param}</div
The Example should be:

[css-div="border: 2px black dotted; background-color: green; color: white;"]CSS Code![/css-div