I would prefer to see this done via CSS. the way you have done it will inline the style on the DOM element and therefore not be override-able with css. It might also make sense to