Sunday, 29 December 2013

CSS Positioning

CSS is such a powerful tool for web design it allows you to customise a website and create pretty cool effects.

Positioning is done through CSS, there is 3 types of positioning you can have these are;

Fixed

- Fixed fixes something into position so wherever you scroll on the screen, the object which is fixed into position and will stay in the position you have set.

Absolute

- When you set an object to use absolute positioning it uses the position within the browser, ideally you would use absolute position within relative positioning, otherwise you may find the bigger the computer screen or browser screen the more your object moves around.

Relative

- When you place something with HTML it automatically gains a position, using fixed positioning you are able to move it around without it losing its original position.

No comments:

Post a Comment