The introduction says that you're dealing with html5 and css.
So you can use %, in, cm, mm, em, ex, pt, pc and px. It is recommended to use the relative sizes: em and %.
I guess you are dealing with a graphical user interface. If it doesn't accept units of measurement, than just create a test and open the css file in a text editor to see what units are used.