Skip to main content

Measurement Units for Image Sizing

When you set the value for a width, depth, contentwidth, or contentdepth attribute, you can use any of these units:

px

Pixels are the default unit if none is specified.

pt

Points equals 1/72 of an inch.

cm

Centimeters

mm

Millimeters

pc

Picas equals 1/6 of an inch.

in

Inches

em

Ems (the font size of the current surrounding element)

%

Percentage of the available page area for width  and depth OR original image size for contentwidth and contentdepth.