You can use the CSS3 rem module, which refers to the root, not the parent. I am stuck in the same dilemma as the project I am working on has so many nested elements that they are not reliable.
Here you can find more information http://snook.ca/archives/html_and_css/font-size-with-rem .
The only problem is backup browser support for IE8 and below. You still need to provide the pixel size before announcing the edge size. Despite this extra coding, it's still worth a look.
source share