View Full Version : CSS in IFrame is not working.

01-04-2008, 03:29 PM
1) Script Title:
CSS in IFrame is not working

2) Script URL (on DD):

3) Describe problem:
I'm using the Ajax Tab Content Script using IFrames. Im having a problem that when i open an external page in the IFrame then the CSS that is implemented on my current page doesn't effect the Page inside the IFrame.

Also i have the color scheme options on my page; i.e. When user clicks on Blue/ Red etc. the whole page scheme is changed accordingly.
Can you please help me out how to implement the CSS in the page that is opened in the IFrame.

Alot of thanks!

01-05-2008, 01:38 AM
The IFRAME used by Ajax Tabs Content carries the CSS class name "tabcontentiframe". You can style this class to get to the IFRAME, sans a couple of attributes such as the IFRAME width and height. See this thread for more info: http://www.dynamicdrive.com/forums/showthread.php?t=27893