CSS used in the Positioning section
CSS Property | CSS Value | Explanation |
/* */ | A colour | CSS comment - more than one line |
// | A colour | CSS comment - one line |
position: | relative, absolute, fixed | Types of positioning |
top | A pixel value | Position an element on the page |
bottom | A pixel value | Position an element on the page |
left | A pixel value | Position an element on the page |
right | A pixel value | Position an element on the page |
z-index | A numerical value | Used to stack elements one behind the other |
float | left, right | Float an element left or right |
clear | left, right, both | Clear a floated element |
Comments
Post a Comment