Nieruchome tło
<style type="text/css">
<!--
body
{
background-image: url("dynda.gif"); /* rozmiar obrazka: 90x112 px */
background-repeat: no-repeat;
background-position: right top;
background-attachment: fixed
}
-->
</style>
Opis cechy background-image:
5.3.3 'background-image'
Value: <url> | none
Initial: none
Applies to: all elements
Inherited: no
Percentage values: N/A
Opis cechy background-repeat:
5.3.4 'background-repeat'
Value: repeat | repeat-x | repeat-y | no-repeat
Initial: repeat
Applies to: all elements
Inherited: no
Percentage values: N/A
Opis cechy background-position:
5.3.6 'background-position'
Value: [<percentage> | <length>]{1,2} | [top | center | bottom] || [left | center | right]
Initial: 0% 0%
Applies to: block-level and replaced elements
Inherited: no
Percentage values: refer to the size of the element itself
Opis cechy background-attachment:
5.3.5 'background-attachment'
Value: scroll | fixed
Initial: scroll
Applies to: all elements
Inherited: no
Percentage values: N/A
Zobacz też:
5.1 Notation for property values