2+ Saf1.3+ FF1.5+ IE7
FULL FULL FULL NONE
The Ultimate CSS Reference 262
Outlines are usually drawn just outside the border edge of an element, although
again the exact position isn??™t defined, and can vary between user agents. An outline
placed around inline elements such as text will closely hug the edges of that text,
even where the text flows over several lines and may result in a non-rectangular,
jagged box. This behavior represents a significant difference from the border
property, which has only a rectangular shape.
Outlines allow authors to apply visual cues to elements to make them stand out
when they take focus. Some user agents apply an outline to web page link elements
when they have focus??”such as when the user??™s tabbing through a list of links.
Changing an outline??™s appearance on focus won??™t cause the document to reflow.
Value
Refer to the outline-width (p. 260), outline-style (p. 259), and outline-color
(p. 258) properties for information on their allowed values.
Pages:
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402