Skip to main content

How to set CSS position Layout static, absolute, fixed



 DOWNLOAD  Output file


The font-size value can be an absolute, or relative size.

Absolute size:

  • Sets the text to a specified size
  • Does not allow a user to change the text size in all browsers (bad for accessibility reasons)
  •  Absolute size is useful when the physical size of the output is known

Relative size:

  •  Sets the size relative to surrounding elements
  •  Allows a user to change the text size in browsers

Comments