27.02.2013 Views

Suitcase Fusion 3 User Guide for Mac OS - Extensis

Suitcase Fusion 3 User Guide for Mac OS - Extensis

Suitcase Fusion 3 User Guide for Mac OS - Extensis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

References<br />

For more in<strong>for</strong>mation about inheritance and how it works with cascading, see Inheritance and Cascading Styles<br />

in CSS (http://www.webdesignfromscratch.com/html-css/css-inheritance-cascade/) and Assigning property<br />

values, Cascading, and Inheritance (http://www.w3.org/TR/CSS2/cascade.html).<br />

NOTE: w3.org is the website of the World Wide Web Consortium, responsible <strong>for</strong> developing the standards<br />

used on the Web.<br />

CSS and Fonts<br />

Font properties<br />

Through your style sheet, you can specify many properties of the text that appears on your website (properties in<br />

boldface are very common).<br />

font-family Specifies a prioritized list of font family names.<br />

See The fallback stack below <strong>for</strong> details.<br />

font-size Specifies the desired height of characters.<br />

Typical units are pt (points), px (pixels), % (percent) and em (the current font size)<br />

font-weight Specifies the weight of characters in a font (their “blackness” or stroke thickness).<br />

Typical values are bold and normal.<br />

font-style Allows you to specify an italic or oblique typeface (they are not always the same!).<br />

Typical values are normal and italic.<br />

color Sets the color of text.<br />

Values are typically a color name (such as black or red) or a hex number representing an<br />

RGB value (such as #000000 or #FFFFFF, <strong>for</strong> black or white).<br />

text-indent Indents the first line of text in an element.<br />

line-height Specifies the distance between lines of text in an element.<br />

text-align Specifies the horizontal alignment of text in an element.<br />

vertical- Specifies the vertical alignment of an element.<br />

alignbackground-<br />

Sets the color of the page behind the text.<br />

colortext-<br />

Specifies the case of text in an element.<br />

trans<strong>for</strong>mtext-<br />

Adds a decoration to text.<br />

decoration The value line-through allows you to create text that looks like it has been struck out.<br />

Using blink or underline is generally frowned upon (underlining is typically reserved <strong>for</strong><br />

links, and blinking text is just plain annoying).<br />

white-space Determines how white space (spaces, tabs, carriage returns) inside an element is handled.<br />

word-spacing Allows you to increase or decrease the space between words.<br />

letter- Allows you to increase or decrease the space between characters.<br />

spacing<br />

font-variant Allows selecting a small-caps variant of a font face.<br />

font-stretch Selects a normal, condensed, or expanded face from a font family.<br />

font-size- Specifies an aspect ratio adjustment <strong>for</strong> fonts in the fallback stack.<br />

adjust<br />

direction Specifies the direction in which text is read.<br />

For details on text and font properties, see the CSS Reference at w3schools.org<br />

(http://www.w3schools.com/css/css_reference.asp).<br />

- 78 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!