Help:Wiki University Wikitext--Position - Absolute

Absolute positioning
So here is an object which we place 120 pixels from the top of the page and 120 pixels from the left side of the page.
 * It is like relative positioning, but it differs in fact that it allows you to place an object just where you want on a page.
 * It has nothing to do with where the browser would put it by default.
 * Absolute position put the object in a certain spot regardless of what is around it.
 * In fact it will cover up anything that is in that spot even another absolute positioned object.

 Now you can see that the position of the object is 120 pixels from the left edge of the page not from the right edge of the sidebar. In fact our object covers part of the sidebar because the sidebar is wider than 120 pixels.

Absolute inside relative positioning


Try these out
 Exercises Check your answers
 * Take this object and place it 75 pixels to the left and 20 pixel from the top from where your browser wants to put it:
 * Take this object and place it 275 pixels to the left and 50 pixel from the top from where your browser wants to put it:

 Quick Quiz
 * Relative positioning places objects in relation to the edge and top of the page.
 * A. True
 * B. False


 * Relative positioning does not cover objects placed before it was.
 * A. True
 * B. False


 * Relative positioning covers up all objects covered after it was placed.
 * A. True
 * B. False

Check your answers