Difference between revisions of "CSS Styling"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 10: Line 10:
:* Specify colors using hexadecimal values or standard HTML color names.  
:* Specify colors using hexadecimal values or standard HTML color names.  
:* Specify font sizes using standard HTML names like <tt>X-large</tt> and <tt>large</tt>, or using pixels (<tt>20px</tt>), or points (<tt>14pt</tt>).
:* Specify font sizes using standard HTML names like <tt>X-large</tt> and <tt>large</tt>, or using pixels (<tt>20px</tt>), or points (<tt>14pt</tt>).
:: Percentages like <tt>120%</tt> are also valid for sizes, but they are rarely used for fonts.
:: Percentages like <tt>80%</tt> or <tt>120%</tt> are also valid for sizes, but they are rarely used for fonts.


''Learn more:''
''Learn more:''

Revision as of 22:56, 24 January 2012

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 points (14pt).
Percentages like 80% or 120% are also valid for sizes, but they are rarely used for fonts.

Learn more: