On May 29, 2009, at 7:20 AM, Stephen Tang wrote: > I have an HTML page that has an iframe element. The iframe element > src references a page that is on a different domain than the "caller" > page. Both the caller page and the iframe page both call the same css > file on the same domain. > > I want to confirm that the caller's CSS file CANNOT influence any > content in and iframe, because the iframe is its own "document."
Page A has an iframe that loads page B. The stylesheet for page A can only affect the iframe itself (the box): width, height, border, margin, padding. Anything _inside_ the iframe (the actual content, page B) is out of reach - and is controlled by stylesheets linked from page B. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
