手机
当前位置:查字典教程网 >网页设计 >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在网页中显示天气附效果截图】相关文章:

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

HTML 网页页面切换的各种变换效果

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

使用Frameset 宽屏居中小技巧分享

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

使用iframe在网页中嵌入其他网页的方法

网页中嵌入播放器embed元素autostart false失效

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

网页设计制作之改进超级链接效果

使用iframe实现提交表单不刷新页面

精品推荐
分类导航