If you look a bit closer - at the end of that solution is this...
That comment was some time ago and custom classes are now supported in dashboard - so while the above still works (it is valid CSS after all) there is a more elegant solution using classes now.
hope that helps.