Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.75 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Iframe not displaying some pages
  2. <article class='nobackground'>
  3.     <iframe src='http://en.wikipedia.org/wiki/<?php echo $myid ?>'></iframe>
  4.   </article>
  5.        
  6. <article class='nobackground'>
  7.     <iframe src='http://www.google.ie/search?tbm=isch&hl=en&source=hp&biw=1280&bih=679&q=<?php echo $myid ?>'></iframe>
  8.   </article>
  9.        
  10. iframe {
  11.       width: 100%;
  12.       height: 620px;
  13.       background: white;
  14.       border: 1px solid rgb(192, 192, 192);
  15.       margin: -1px;
  16.  }
  17.  
  18.  article.fill iframe {
  19.       position: absolute;
  20.       left: 0;
  21.       top: 0;
  22.       width: 100%;
  23.       height: 100%;
  24.       border: 0;
  25.       margin: 0;
  26.       border-radius: 10px;
  27.       -o-border-radius: 10px;
  28.       -moz-border-radius: 10px;
  29.       -webkit-border-radius: 10px;
  30.       z-index: -1;
  31.  }