Is there a simple method to apply a CSS class that is specifically defined in the head
of an iframe
to an element located in the main document?
Can this be done without having to resort to using JavaScript to copy the class from the iframe's head to the main document's head?
It would be great if something like the following (even though it's not valid) could work in the main document:
<div class="#iframe.classtoapply">lorem ipsum</div>