<style type="text/css">
<!--
#drugi {width:120px; height:120px} /* składnia z podaniem wartości atrybutu id */
-->
</style>
{width:120px; height:120px}
% - procent in - cal cm - centymetr mm - milimetr em - jedno em jest równe rozmiarowi bieżącej czcionki ex - jedno ex jest równe szerokości bieżącej czcionki pt - punkt drukarski, 1 punkt drukarski jest równy 1/72 cala pc - pika, 1 pika jest równa 12 punktom drukarskim px - piksel, najmniejsza kropka na ekranie monitora
10.2 Content width: the 'width' property
Value: <length> | <percentage> | auto | inherit Initial: auto Applies to: all elements but non-replaced inline elements, table rows, and row groups Inherited: no Percentages: refer to width of containing block Media: visual Computed value: the percentage or 'auto' as specified or the absolute length; 'auto' if the property does not apply
10.5 Content height: the 'height' property
Value: <length> | <percentage> | auto | inherit
Initial: auto
Applies to: all elements but non-replaced inline elements, table columns, and column groups
Inherited: no
Percentages: see prose
Media: visual
Computed value: the percentage or 'auto' (see prose under <percentage>) or the absolute length;
'auto' if the property does not apply
1.4.2 CSS property definitions