User:Eric Martz/Sandbox 5
From Proteopedia
(Difference between revisions)
| 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"> | + | *<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> | + | *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">''' | + | *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: | ||
Revision as of 17:15, 19 August 2020
| |||||||||||
