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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18.3 User preferences for fonts<br />

As for colors, authors may specify fonts in a way that makes use of a user’s<br />

system resources. Please consult the ’font’ property for details.<br />

18.4 Dynamic outlines: the ’outline’ property<br />

At times, style sheet authors may want to create outlines around visual objects<br />

such as buttons, active form fields, image maps, etc., to make them stand out.<br />

<strong>CSS2</strong> outlines differ from borders [p. 88] in the following ways:<br />

1. Outlines do not take up space.<br />

2. Outlines may be non-rectangular.<br />

The outline properties control the style of these dynamic outlines.<br />

’outline’<br />

Value: [ || || ] |<br />

inherit<br />

Initial: see individual properties<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: N/A<br />

Media: visual, interactive<br />

’outline-width’<br />

Value: | inherit<br />

Initial: medium<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: N/A<br />

Media: visual, interactive<br />

’outline-style’<br />

Value: | inherit<br />

Initial: none<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: N/A<br />

Media: visual, interactive<br />

’outline-color’<br />

274

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

Saved successfully!

Ooh no, something went wrong!