A demonstration of how to parse the css "border-width" from a HTML element in JavaScript. From a question at stackoverflow.com: http://stackoverflow.com/q/3787502/3787376
This is a fiddle I will probably use for testing things.