手机
当前位置:查字典教程网 >网页设计 >XHTML >利用iframe在网页中显示天气附效果截图
利用iframe在网页中显示天气附效果截图
摘要:css:*{margin:0;padding:0;list-style-type:none;}a,img{border:0;}body{fo...

css:

*{margin:0;padding:0;list-style-type:none;}

a,img{border:0;}

body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}

/* demo */

.demo{width:800px;margin:0 auto;}

.demo div{margin:40px 0 0 0;}

html:

<div>

<div>

<iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=2&num=5" width="650" height="70" 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" width="225" height="90" 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="800" height="60" 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="500" height="15" 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="800" height="120" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

</div>

</div>

部分效果:

利用iframe在网页中显示天气附效果截图1

我在项目中做了一个下面的效果

1

【利用iframe在网页中显示天气附效果截图】相关文章:

用网页显示txt书的内容的代码

漂亮样式表在XHTML+CSS网页制作中的应用

让网站在浏览器网址前面显示小图标的方法

网页输入框的样式触发效果

HTML网页中的URL表示方式

flash嵌入html 在html网页代码中嵌入Flash文件的解决方案(下)

通过iframe实现在body中放frameset

网页表格或div层在网页中被撑开解决之道

圆形元素在网页设计中的25个应用案例分享

掌握常用的用于网页中引用内容的HTML标记

精品推荐
分类导航