2014: refactor

move some internal-used methods to CssBoxExtension
and make it an extension method