How to use IFRAME to display weather in Web pages

Source: Internet
Author: User

CSS: The code is as follows:

*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, Sans-serif, "new song Body";}
/* Demo *
/demo{width:800px;margin:0 auto;
Demo div{margin:40px 0 0 0;}


The HTML code is as follows:

<div class= "Demo" >  <div>  <iframe name= "Weather_inc"  src= "http:// I.tianqi.com/index.php?c=code&id=2&num=5 " width=" 650 " height="  frameborder= "0"   Marginwidth= "0"  marginheight= "0"  scrolling= "no" ></iframe>  </div>  <div >  <iframe name= "Weather_inc"  src= "http://i.tianqi.com/index.php?c=code&id=7"   Style= "border:solid 1px red"  width= " height="  frameborder= "0"  marginwidth = "0"  marginheight= "0"  scrolling= "no" ></iframe>  </div>  <div>  < Iframe name= "Weather_inc"  src= "http://i.tianqi.com/index.php?c=code&id=9"  width= " " height= " frameborder=" "0"  marginwidth= "0"  marginheight= "0"  scrolling= "no" ></iframe >  </div>  <div>  <iframe name= "Weather_inc"  src= "http://i.tianqi.com/ Index.php?c=code&id=11 " width=" " height="  frameborder= "0" ></iframe>  </div>   <div>  <iframe name= "Weather_inc"  src= "http://i.tianqi.com/index.php?c=code& Id=13 " width=" 650 " height=" 221 " frameborder=" 0 " marginwidth=" 0 " marginheight=" 0 "  scrolling= "No" ></iframe>  </div>  <div>  <iframe name= "Weather_ Inc " src=" http://i.tianqi.com/index.php?c=code&id=19 " width="  height= " " Frameborder= "0"  marginwidth= "0"  marginheight= "0"  scrolling= "no" ></iframe>  </ div>  </div>

Partial effect:


The above is a small series and you share: the use of IFRAME in the Web page to show the weather, there is a need for small partners remember collection OH.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.