FrameReady demo
To see a demo of loading content into a div inside an iFrame using ajax: Click here
The best way to see how this works is to view source for the root document and each frame, then inspect the HTML and DOM inside firebug.
The code used to generate the content and load the stylesheets in each frame actually lives in the root document.