Jump to content

Value precision


Ingolme

Recommended Posts

For percentages and ems, how many digits are you allowed to have after the point? For example, is 1.3333333333em allowed?As for Internet Explorer's alpha(opacity) value in CSS, is it like opacity which only has 11 levels (0.0 through 1.0) or does it have 101 levels of precision?

Link to comment
Share on other sites

Hmm...That's a good question.There doesn't seem to be anything in the spec that mentions precision of values. I think it's mainly browser specific. Whether the browser rounds/converts values to a precision that is supported. I could be wrong though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...