Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parseCssSizeToPx

Convert a CSS size value into pixels


Description

parseCssSizeToPx will take a CSS style and convert it to pixels Supported input size units are in, cm, mm, pt, pc, px, em, are converted exactly: in, cm, mm, pt, pc: using 1in = 2.54cm = 25.4mm = 72pt = 6pc. The following are converted approximately: px, em, approx 1em=16px=12pt and 100

Usage

parseCssSizeToPx(size)

Arguments

size

A size specified in common CSS units.

Value

The size converted to pixels.


basictabler

Construct Rich Tables for Output to 'HTML'/'Excel'

v1.0.0
GPL-3
Authors
Christopher Bailiss [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.