Colour of [code] box?
Colour of [code] box?
Hi,
Is it possible to change the default colour of the code box on a forum?
Example
Regards,
JDobbsy1987
Is it possible to change the default colour of the code box on a forum?
Example
- Code:
Change the colour of this box
Regards,
JDobbsy1987
Last edited by JDobbsy1987 on November 21st 2010, 6:54 pm; edited 1 time in total
Re: Colour of [code] box?
put this in you CSS
ACP - Display - Colors - CSS stylesheet:
ACP - Display - Colors - CSS stylesheet:
- Code:
code {color: YOUR COLOR HERE;}
Guest- Guest
Re: Colour of [code] box?
Thank you for your reply...
I cant seem to get that to work?
i have tried both:
am i doing it wrong?
if it makes a difference i already have:
not sure what that is for though.
Cheers
I cant seem to get that to work?
i have tried both:
- Code:
code {color: #FFFFFF}
code {color: white}
am i doing it wrong?
if it makes a difference i already have:
- Code:
a.mainmenu{
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 1.0;
}
a.mainmenu:hover{
filter:alpha(opacity=50);
-moz-opacity: 0.65;
opacity: 0.55;
}
not sure what that is for though.
Cheers
Re: Colour of [code] box?
Orh lol.. i though u mean the text inside it 
Try this:

Try this:
- Code:
.gensmall b {color: #fff;}
Guest- Guest
Re: Colour of [code] box?
The text is useful to know however i replace the above code with
and the text goes back green bu the box doesnt change color?
- Code:
.gensmall b {color: #fff;}
and the text goes back green bu the box doesnt change color?
Re: Colour of [code] box?
May I remind you that double/triple posting isn't tolerated unless separated by 24 hours (Use the edit button) 
I'm confused. do want change the color where it says Code: or change the box border color?

I'm confused. do want change the color where it says Code: or change the box border color?
Guest- Guest
Re: Colour of [code] box?
Sorry for the double post
I would like to change the colour of the box from grey to white...
if it is more clear then i have created an example post at my forum here
Sorry for the confusion
and i am greatful for all the help

I would like to change the colour of the box from grey to white...
if it is more clear then i have created an example post at my forum here
Sorry for the confusion
and i am greatful for all the help
Re: Colour of [code] box?
That is perfect!!
Thank you for your help.
Thank you to Ganster15 too.
Regards,
JDobbsy1987
Thank you for your help.
Thank you to Ganster15 too.
Regards,
JDobbsy1987
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum