Chapter 19. Absolute and Fixed Positioning

<feature><title>What You’ll Learn in This Hour:</title>
  • The types of positioning schemes available for placing a display box on the screen

  • How to place an HTML element in relation to its containing block

  • How to use CSS positioning to create a simple cartoon combining a photograph, text, and graphics

  • How to control clipped content that is larger than the size allotted to a display box

  • How to create rounded corners for boxes and position them with CSS

  • How to designate which items should appear in front or back when content is layered over other content

  • How to fix an HTML element on the screen, even if the page scrolls

</feature>

Positioning Content

Whenever you include an HTML element on a page, it generates a ...

Get Sams Teach Yourself CSS 24 in Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.