Possible Duplicate:
How to apply CSS to iFrame?
I am using a carousel to display a YouTube video using an <iframe />. The problem is that I want to customize the CSS of the code inside the <iframe />. I tried to force my CSS, it didn’t work, I tried to add CSS attributes by JavaScript, but it is not possible for any properties to be taken into account. Is it possible by another way?
If the SRC of the iFrame has a different source or protocol (http://, https://), then you can not access it at all with anything. If it is the same source and protocol, then I’ve had no problems in the past using
jQueryObject.content().find('#ObjectID').css()in the past