User:Eric Martz/Sandbox 5: Difference between revisions

Eric Martz (talk | contribs)
No edit summary
Eric Martz (talk | contribs)
No edit summary
Line 5: Line 5:
===Coloring Caption Text===
===Coloring Caption Text===


Caption text can be <font color="red"> colored</font> using HTML:
Caption text can be <font color="red">colored</font> using HTML:
*<nowiki><font color="red">red text</font>.</nowiki> displays <font color="red">red text</font>.
*<nowiki><font color="red">Oxygen</font>.</nowiki> displays <font color="red">Oxygen</font>.


Colors are usually easier to see in boldface. You can use either HTML or wikitext bold markup:
Colors are usually easier to see in boldface. You can use either HTML or wikitext bold markup:
*HTML: <nowiki><font color="red"><b>red text</b></font>.</nowiki> displays <font color="red"><b>red text</b></font>.
*HTML: <nowiki><font color="red"><b>Oxygen</b></font>.</nowiki> displays <font color="red"><b>Oxygen</b></font>.
*Three single quotes: <nowiki><font color="red">'''red text'''</font>.</nowiki> displays: <font color="red">'''red text'''</font>.
*Three single quotes: <nowiki><font color="red">'''Oxygen'''</font>.</nowiki> displays: <font color="red">'''Oxygen'''</font>.


Light colors may be unreadable on a white background, so use a black background. But there seems to be '''no way to specify a background color in a caption'''. So you will need to put the color key in the text of the page. For standard color keys, templates are provided: see [[Help:Color Keys]]. Proteopedia page text does not support HTML bgcolor, but it supports CSS font color:
Light colors may be unreadable on a white background, so use a black background. But there seems to be '''no way to specify a background color in a caption'''. So you will need to put the color key in the text of the page. For standard color keys, templates are provided: see [[Help:Color Keys]]. Proteopedia page text does not support HTML bgcolor, but it supports CSS font color: