HTML color code isn't showing when you preview the game.

So, in the online version of squiffy i put this HTML code for background color and it worked in the output section. But when i click preview of play the game it wont show up, why is that?

I put 4 tabs at the beginning of the code, it wont show here.

$('#output').css('background-color', 'Black');
$('#output').css('color', 'Maroon');

Would anyone help me with this? Maybe i got the code wrong.

I can't help much, except to say it's probably the same as working with the offline version -- the preview pane doesn't seem to be very reliable when it comes to showing changes to CSS styles.

Log in to post a reply.