Forum Thread
  Posts  
Change game page background color (Forums : Support : Change game page background color) Locked
Thread Options
Mar 23 2012 Anchor

I want to change the background color on the page for my game. I typed "<body bgcolor="cdcdcd">" into the edit html and that didn't work. What do I do?

Mar 24 2012 Anchor

You can use div's. Tags such as "body" won't work anyway. There's also a newer HTML property than bgcolor/color, namely style. style="background: black; color: white;" should work if you'd like to have black background and white font.

Edited by: feillyne

Henley
Henley the sun never sets on the eternally cool
Mar 24 2012 Anchor

You cannot edit the CSS of your page without my help. There are rules in place that does not allow solid colours as backgrounds.

--

Mar 24 2012 Anchor

I noticed the minecraft page had a black background color, as the strip between the navigation bar(news, images, videos etc) and the game's page is usually white, but the minecraft page was black. I want to make mine a gray color for a transition effect. So, I don't really know anything about html at all-can someone just write a command i can paste into the html source to make the background color 0xcdcdcd (or #cdcdcd)? thanks.

JigsawPieces
JigsawPieces Shut up, that's why.
Mar 25 2012 Anchor

If you want to get rid of that white gap you can encase everything in the summary section in a div and give it a minus margin. Here's the code I use on my page:

<div style="margin-top:-1em;background-color:#cdcdcd;">

   Your content goes here.

</div>



Just put everything inside the div tags. That'll remove the white bar at the top of the summary section and change the background colour to #cdcdcd. You should be able to copy-paste that straight into your page.

Edited by: JigsawPieces

Henley
Henley the sun never sets on the eternally cool
Mar 25 2012 Anchor

Inflictive wrote: I noticed the minecraft page had a black background color, as the strip between the navigation bar(news, images, videos etc) and the game's page is usually white, but the minecraft page was black. I want to make mine a gray color for a transition effect. So, I don't really know anything about html at all-can someone just write a command i can paste into the html source to make the background color 0xcdcdcd (or #cdcdcd)? thanks.


Just a FYI that is not the background field that is the description field.

--

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.