position: value;
Values:
- Static: default positioning for all elements
- Relative: offsets relative to the default positioning
- Absolute: positions element based on nearest parent element or the corner of the window
- Fixed: same as absolute except parent element is always the window
References:
http://www.cssbasics.com/css-positioning/
http://www.barelyfitz.com/screencast/html-training/css/positioning/
0 comments:
Post a Comment