+ 1

Can i apply css inside iframe...?

25th Feb 2018, 6:09 AM
shailesh
shailesh - avatar
7 Respostas
+ 11
@Shailesh... Is the iFrame pointing to another page on the same website or is it pointing to a different website domain? Unless the others know something I don't, I'm pretty certain the restrictions on XSS (cross site scripting) make this impossible on modern browsers.
25th Feb 2018, 6:32 AM
David Carroll
David Carroll - avatar
+ 8
yes
25th Feb 2018, 6:20 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 7
Yes, you can apply css in iframe. Are you having a problem applying css there ? You could attach your code in the question for help.
25th Feb 2018, 6:25 AM
Akash Pal
Akash Pal - avatar
+ 7
unfortunately you cannot change the CSS code of the source in your iframe but you can style the iframe
25th Feb 2018, 6:29 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
yes you can
25th Feb 2018, 6:16 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
will you please let me know how I will apply a css to iframe which I have used in my webpage...?
25th Feb 2018, 6:25 AM
shailesh
shailesh - avatar
+ 1
yes I have created website using materialised css. I have added one form which is coming from another website but it's UI is different then our project
25th Feb 2018, 6:32 AM
shailesh
shailesh - avatar