PDA

View Full Version : For the Beginners: "alt3"


glorify
11-15-2008, 01:24 AM
If you know your way around html or vb, go to the next mod, this one's for the beginners ONLY.

Really not even a mod, but a simple css addition for those who have no idea what they are doing when it comes to adding a simple background to a table cel in vb's templates.

In your admincp, go to styles and templates. Expand the style you'd like to add this to. Scroll all the way down to the bottom where it says "Additional CSS definitions".

Add the following line with your values:

.alt3
{
background: url(url path to your image) repeat;
color: #(font color number);
}

Then next time you want to change a td class to something with your background, just replace with <td class="alt3"> and your background will appear in your cel.

I don't overuse it, but I add it here and there on my site. Check the jersey on my navbar (http://www.glorifythepast.com/). It's done with this very basic definition.

ArnyVee
11-15-2008, 01:48 PM
Very 'basic', but very useful :D

By the way, could we use this to add an image into the postbit background? Or, the category background 'area'?

If so, where do we adjust it?