Customize your Spoiler Tag?

Go down

In progress Customize your Spoiler Tag?

Post by petro on August 15th 2011, 8:20 am

Instead of just having a simple plain block spoiler tag, is there a way we can customize the spoiler tag thro css stylesheet?

What I wanted to do is to have a picture (Maybe a wooden or metalic texture) on this "SPOILER" text zone. I wanted to have the font of the content text to be different, maybe Trebuchet MS? The color too, from green to other color?

example ..
New Member

Male Posts : 19
Reputation : 0
Language : English

Back to top Go down

In progress Re: Customize your Spoiler Tag?

Post by Nera. on August 15th 2011, 12:50 pm

Add this to CSS

.spoiler_content.hidden {
    background: url("") repeat scroll 0 0 transparent;
    color: lime;
    display: block;
    font-family: trebuchet MS;
.spoiler {
    background: url('');

Change the pictures and colors if you want.

If you have those rules in CSS change them so they look like mine.

You can't have two with different properties.


Female Posts : 7078
Reputation : 2015
Language : English
Location : -

Back to top Go down

In progress Re: Customize your Spoiler Tag?

Post by The Godfather on August 17th 2011, 3:08 pm

Is this problem solved ?
The Godfather

Posts : 3019
Reputation : 412

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum