problems with background

hello,
im new and i made a gamebook game with a black background. however only the game in the middle is black and i want the borders to be black also. what can be done?


You need JavaScript.
I copied code to get a black background too.

Wait a moment, I'm sure someone else will come to help. If not, I have a heap of code I need to paste here...


I am facing the same problem Dubai Escorts


Don't click on that, that's spam!

Here's a heap of code like I promised.

backandborder = "border: black outset 6px;background:black"
button = "padding:5px;background:silver;border:outset darkgrey 1px;"
text = "color:black;font-family:georgia, serif"
JS.setCss ("#status", backandborder)
JS.setCss (".ui-accordion-header", "border-radius: 0px;" + backandborder)
JS.setCss (".ui-accordion-content", "border-radius: 0px;" + backandborder + ";border-top:none")
JS.setCss (".accordion-header-text", text)
JS.setCss ("#commandPane", text + ";" + backandborder)
JS.setCss ("#verblinkwait", button)
JS.setCss ("#verblinklook", button)
JS.setCss ("#gamePanes", "margin-top: 16px")
JS.eval ("$('#gamePanes').width(227);")
if (RandomChance(50)) {
  msg ("Okay. You win!")
}

Edit: Nevermind, just use mrangel's code.

backandborder = "border: black outset 6px;background:black"

In gamebook mode there's no UI Initialisation script; so you probably want to use something like:

msg ("<style>body {background-color: black;}</style>")

In gamebook mode there's no UI Initialisation script; so you probably want to use something like:

msg ("<style>body {background-color: black;}</style>")

Log in to post a reply.

Support

Forums