HTML and CSS Reference
In-Depth Information
}
[...]
<div class="one">
border image with sides and middle set to round
</div>
<div class="two">
border image with sides and middle set to stretch
</div>
Figure 14.7
Examples of
border back-
grounds with
round
and
stretch
values
for
border-
image-repeat
.
Border backgrounds are supported in Firefox 3.5+, Opera 10.5+, Chrome
3+, and Safari 3.2+.
Though not explicitly CSS related, the Accessible Rich Internet Application
(WAI-ARIA) specification (
http://www.w3.org/TR/wai-aria/
)
provides
definitions of common semantics of application widgets and states as
a semantic layer to be added to existing HTML markup using the
role
attribute. Role types include
navigation
,
progressbar
,
alertdialog
,
tab,
and
tooltip
. By applying these roles to HTML elements, screen
readers and other assistive devices can react to these items more appro-
priately than they would an element with a
class
or
id
of
progressbar
.