Positioning Elements on a Web Page

  • Adrian W. West


Elements can be positioned accurately on a web page by using CSS styling. The two types of positioning are Absolute positioning and Relative positioning. You used absolute positioning in many of the previous projects; this enabled you to locate an element (such as the header text) at a fixed position relative to the top and left edges of a browser’s viewport. Relative positioning moves an element from where it would normally appear on the page. Several other positioning techniques are also described in this chapter.


Absolute Position Bold Type Position Technique Browser Window Logo Image 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adrian W. West 2016

Authors and Affiliations

  • Adrian W. West
    • 1
  1. 1.ColytonUK

Personalised recommendations