Template color help
63,506pages on
this wiki
this wiki
Forum page
Forums: Index → Support Requests → Template color help
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 91 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.
Hello, I'm RozenHeart, one of the admins on The CLAMP Wiki . I've been having trouble with trying to add backround color to templates, such as our character template. I tried adding the hex code for the color (#FE6F5E) and then the actual color name (bittersweet), what am I doing wrong?
Thank you in advance.
RozenHeart 17:43, February 16, 2012 (UTC)
- Can you maybe post the exact code you are using? I know that wikia may not accept some of the color names. To set a color you should use the floowing way (dunno how you made your templates, lets say that on tables):
{| style="background: red" <--- for the whole table
|style="background: rgb(0,255,0)" | A cell <--- for the single cell
|}
Effect will be following (the cell is smaller then the table so the red table background looks like a border (but it isnt a border of course :P):
| A cell <--- for the single cell |
- Look outside the box. What you see?
~Seraskus 17:58, February 16, 2012 (UTC)- To make a true border:
{|
| style="background: rgb(0,255,0); border: 2px solid red; " | A cell <--- for the single cell
|}
| A cell |