0

i have a site which a plugin for comments which loads an iframe on iphone and ipad the pages crash and browser quits, this turned out to be from :

 display:-webkit-box;
 display:-webkit-flex;

these are being inherited from the site's main css,

i tried adding in css something like:

   iframe .textbox { display:block }

to overwrite the inherited properties and make it work, but the elements don't seem to be reading my css declaration;

how can i fix this please? thanks

roy naufal
  • 379
  • 1
  • 8
  • 19

1 Answers1

0

An iframe is a 'hole' in your page that displays another web page inside of it. The contents of the iframe is not in any shape or form part of your parent page.

Credits : CSS override body style for content in iframe? So modifying is not an option i guess.

Thanks

Community
  • 1
  • 1
PrakashSharma
  • 386
  • 5
  • 16
  • 1
    When you copy and paste an answer from another SO question, it's considered bad form. Instead, post the link to the answer to give credit to the person who actually wrote it: http://stackoverflow.com/a/6495816/1556245. Downvote. – Shawn Erquhart Oct 23 '14 at 14:25
  • Thanks for updating, downvote removed. More to the point, if a question is answered somewhere else, that usually means it's a duplicate question. Instead of answering, flag it as a duplicate (using the 'flag' link underneath the question). – Shawn Erquhart Oct 23 '14 at 14:38