The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Border for codes and spoilers?

View previous topic View next topic Go down

Solved Border for codes and spoilers?

Post by viankova on December 9th 2011, 11:50 am

Hello. I want to know how can I add borders to codes and spilers and make that border rounded.

Here is a screen shot of quotes. I want to make codes and spoilers like it.




I don't have any border for codes and spoilers. The screen shot bellow. How can I make it look like the border in quotes?



My forum version is phpBB2


Last edited by viankova on December 9th 2011, 1:52 pm; edited 1 time in total

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: Border for codes and spoilers?

Post by Mati on December 9th 2011, 1:28 pm

Hi, viankova

Add this codes in your CSS Stylesheet and save.

Code:
.code {
background-color: #FAFAFA;
border:solid 1px #666666;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}

.spoiler_closed {
border:solid 1px #666666;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}

.spoiler_content {
border:solid 1px #666666;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}

Mati
Active Poster

Posts : 1883
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Border for codes and spoilers?

Post by viankova on December 9th 2011, 1:51 pm

Thank you. It worked.

Solved

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: Border for codes and spoilers?

Post by Sanket on December 9th 2011, 5:30 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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