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.

How would I change the Code boxes text?

View previous topic View next topic Go down

Solved How would I change the Code boxes text?

Post by sign da tits on April 3rd 2011, 3:36 pm

As you can see my codebox is bland and boring I would like to jazz it up a bit, with green text like forumotion


Last edited by sign da tits on April 3rd 2011, 5:00 pm; edited 1 time in total

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Solved Re: How would I change the Code boxes text?

Post by Base on April 3rd 2011, 3:40 pm

Hello sign da tits,

Please add this to your CSS code:

Code:
.codebox {
    background-color: #FFFFFF;
    border: 1px dotted #DDDDDD;
    border-radius: 5px 5px 0 0;
    color: green;
    margin: 1em;
}
.codebox dd.cont_code {
    background-color: #FFFFFF;
    color: green;
    max-height: 200px;
    overflow: auto;
}

That will make the background of your code box white and your font colour green. Wink

Regards,

Base

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: How would I change the Code boxes text?

Post by sign da tits on April 3rd 2011, 5:00 pm

@Base wrote:Hello sign da tits,

Please add this to your CSS code:

Code:
.codebox {
    background-color: #FFFFFF;
    border: 1px dotted #DDDDDD;
    border-radius: 5px 5px 0 0;
    color: green;
    margin: 1em;
}
.codebox dd.cont_code {
    background-color: #FFFFFF;
    color: green;
    max-height: 200px;
    overflow: auto;
}

That will make the background of your code box white and your font colour green. Wink

Regards,

Base
Thanks man Smile

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Solved Re: How would I change the Code boxes text?

Post by Base on April 3rd 2011, 5:05 pm

Since this problem has been solved, I will now lock this topic.

>> Locked


Base

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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