CSS - CSS Measurement Units - CSS Absolute Measurement Units



  • The absolute length units are settled and a length communicated in any of these will show up as correctly that size. The absolute units are

Centimeter (cm):

  • Represents a measurement in centimeters.

Example:

div {margin-bottom: 2cm;}
click below button to copy the code. By - css tutorial - team

Inches(in):

  • Represents a measurement in inches.

Example:

p {word-spacing: .15in;}
click below button to copy the code. By - css tutorial - team

Millimeter (mm):

  • Represents a measurement in millimeters.

Example:

p {word-spacing: 15mm;}
click below button to copy the code. By - css tutorial - team

Picas(pc):

  • Represents a measurement in picas. 1 pica= 12 points.

Example:

p {font-size: 20pc;}
click below button to copy the code. By - css tutorial - team

Points(pt):

  • Represents a measurement in points. 1 point =1/72nd of an inch.

Example:

body {font-size: 18pt;}
click below button to copy the code. By - css tutorial - team

Pixel(px):

  • Represents a measurement in screen pixels.

Example:

p {padding: 25px;}
click below button to copy the code. By - css tutorial - team

This page provides a detailed information on html and css for beginners , w3 css tutorial , css design code , css standard , css3 documentation , css stylesheet editor , tutorial html css , html css online , css creator , css generator online , css compressor online , css online generator , css tutorial for beginners with examples , css3 html , css for dummies , html a css , html css book , css code examples , table css examples , css website examples.


View More Quick Examples

CSS BASICS & SELECTORS CSS SELECTOR ATTRIBUTE CSS STYLE FORMS COLORS & BACKGROUND CSS MARGIN & PADDING CSS WIDTH & HEIGHT CSS LINKS CSS BLOCKS

Related Searches to CSS - Absolute Measurement Units