CSS Styling

From AgileApps Support Wiki
Revision as of 22:59, 24 January 2012 by imported>Aeric

Cascading Style Sheets (CSS) is the standard for specifying display format on the web.

Here are some examples of CSS formatting you might use for a field:

  • background-color:Bisque; color:Brown; border:5px solid Brown; font-size:X-large; font-family:"Times New Roman";
  • background-color:#9ACD32; color:Olive; font-weight:bold; font-size:large; text-align:left; font-size:20px;

As shown in those examples, you can use standard CSS syntax to specify formatting characteristics:

  • Specify colors using hexadecimal values or standard HTML color names.
  • Specify font sizes using standard HTML names like X-large and large, or using pixels (20px), or typographic sizes like points (14pt) or "ems" (2.4em), where an "em" is the width of the "m" character in the font you're using.
Percentages like 80% or 120% are also valid for sizes, but they are rarely used for fonts.

Learn more: