[code] Coloring

Graf

Explorer
I know some people code their posts so that spoilers are invisible (i.e. the same dark background as the boards 'standard' color).

For lots of thanks answer this question:
What color?

cheers,
Graf
 

log in or register to remove this ad

[color=333333]Test 1[/color]

[color=222222]Test 2[/color]

It should be either color=333333 or color=222222 , depending on the background of the post.
 


You can also do it like this:

<!-- begin spoiler block -->
<font size="1"><i>Highlight for spoiler:</i></font>
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#CCCCCC"><tr><td><font size="2" color="#CCCCCC">This is my spoiler, this is my gun, this is for spoiling and this is for fun</font></td></tr></table>
<!-- end spoiler block -->

It'll work on all backgrounds, regardless of backgroundcolor.

Quote this message to see the code.
 

Psionicist said:
You can also do it like this:

<!-- begin spoiler block -->
<font size="1"><i>Highlight for spoiler:</i></font>
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#CCCCCC"><tr><td><font size="2" color="#CCCCCC">This is my spoiler, this is my gun, this is for spoiling and this is for fun</font></td></tr></table>
<!-- end spoiler block -->

It'll work on all backgrounds, regardless of backgroundcolor.

Quote this message to see the code.

Your HTML-fu is mighty.

Thanks.
 

Remove ads

Top