<style type="text/css">
<!--
p.top {border-style:solid; border-top-width:1px} /* składnia z podaniem */
p.right {border-style:solid; border-right-width:1px} /* wartości atrybut class */
p.bottom {border-style:solid; border-bottom-width:1px}
p.left {border-style:solid; border-left-width:1px}
p
{ /* składnia podstawowa */
padding:12pt;
margin-top:18pt
}
-->
</style>
Ten akapit należy do klasy top. {border-style:solid; border-top-width:1px}
Ten akapit należy do klasy right. {border-style:solid; border-right-width:1px}
Ten akapit należy do klasy bottom. {border-style:solid; border-bottom-width:1px}
Ten akapit należy do klasy left. {border-style:solid; border-left-width:1px}
5.5.11 'border-top-width'
Value: thin | medium | thick | <length> Initial: 'medium' Applies to: all elements Inherited: no Percentage values: N/A
5.5.12 'border-right-width'
Value: thin | medium | thick | <length> Initial: 'medium' Applies to: all elements Inherited: no Percentage values: N/A
5.5.13 'border-bottom-width'
Value: thin | medium | thick | <length> Initial: 'medium' Applies to: all elements Inherited: no Percentage values: N/A
5.5.14 'border-left-width'
Value: thin | medium | thick | <length> Initial: 'medium' Applies to: all elements Inherited: no Percentage values: N/A
5.1 Notation for property values