The position can be specified using one or more of the
properties top (p. 275), right (p. 276), bottom (p. 277), and left
(p. 278). In the print media type, the element is rendered on every page.
relative The value relative generates a positioned box whose position is first
computed as for the normal flow. The generated box is then offset from
this position according to the properties top (p. 275) or bottom (p. 277)
SPEC
version initial inherited
CSS2 static NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
Example
This style rule makes the element with ID
"sidebar" absolutely positioned at the top
right-hand corner of its containing block:
#sidebar {
position: absolute;
top: 0;
right: 0;
}
The value absolute generates an absolutely positioned box that??™s
positioned relative to its containing block. The position can be specified
using one or more of the properties top (p. 275), right (p. 276), bottom
(p. 277), and left (p. 278). Absolutely positioned boxes are removed
from the flow and have no effect on later siblings.
Pages:
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408