22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

In the following example, the user agent is not permitted to alter inter-character<br />

space:<br />

BLOCKQUOTE { letter-spacing: 0cm } /* Same as ’0’ */<br />

When the resultant space between two characters is not the same as the<br />

default space, user agents should not use ligatures.<br />

Conforming user agents [p. 32] may consider the value of the ’letter-spacing’<br />

property to be ’normal’.<br />

’word-spacing’<br />

Value: normal | | inherit<br />

Initial: normal<br />

Applies to: all elements<br />

Inherited: yes<br />

Percentages: N/A<br />

Media: visual<br />

This property specifies spacing behavior between words. Values have the<br />

following meanings:<br />

normal<br />

The normal inter-word space, as defined by the current font and/or the UA.<br />

<br />

This value indicates inter-word space in addition to the default space<br />

between words. Values may be negative, but there may be implementation-specific<br />

limits.<br />

Word spacing algorithms are user agent-dependent. Word spacing is also<br />

influenced by justification (see the ’text-align’ property).<br />

Example(s):<br />

In this example, the word-spacing between each word in H1 elements is<br />

increased by ’1em’.<br />

H1 { word-spacing: 1em }<br />

Conforming user agents [p. 32] may consider the value of the ’word-spacing’<br />

property to be ’normal’.<br />

16.5 Capitalization: the ’text-transform’ property<br />

’text-transform’<br />

Value: capitalize | uppercase | lowercase | none | inherit<br />

Initial: none<br />

Applies to: all elements<br />

Inherited: yes<br />

Percentages: N/A<br />

Media: visual<br />

242

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

Saved successfully!

Ooh no, something went wrong!