Adopt the CSS3 calc trick from the wiki.
updated troubleshooting from wiki.