html - CSS: 2nd iframe won't render -


only iframe1 rendered. iframe2 hidden. wanted iframe2 start @ lower border of iframe1 , fill rest of page. (live example: http://flippa.com/auctions/2627927/site)

<style type="text/css">         #iframe1         {             position: fixed;             width: 100%;             height:100px;             margin:0px;              z-index:2;         }          #iframe2         {             position: fixed;             width: 100%;              margin:0px;              top:100px;             z-index:3;         } </style>   <body>     <iframe  src="http://www.google.com" id="iframe1"      scrolling="no"  frameborder="0"><iframe/>       <iframe  src="http://www.yahoo.com" id="iframe2"      scrolling="no" frameborder="0"> </iframe>  </body> 

is problem first iframe has closing tag this:

<iframe/>

instead of this:

</iframe>


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -