前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >css当中background的问题

css当中background的问题

作者头像
马克java社区
修改2020-11-27 18:04:20
8510
修改2020-11-27 18:04:20
举报
文章被收录于专栏:java大数据

3.background的问题 例 1.3 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <style type="text/css"> div{     border:1px solid #000000;     height: 80px;     width: 400px; font-size:25px; } </style> </head> <body> <div style="background-image:url(7.gif);height:300px; background-repeat:  no-repeat;background-position: 5 5; ">有关background的问题,ie8和FF是兼容的,测the image is at 5,5</div> ge <div style="background-color:#00ff00">测</div> ge <div style="background-image:url(7.gif);background-repeat: no-repeat">测</div>          ge <div style="background-image:url(7.gif)">测</div>   ge <div style="background-image:url(7.gif);background-repeat: repeat-x">测</div>     ge </body> </html>

更多请见 https://blog.csdn.net/qq_44594371/article/details/103063944

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 3.background的问题 例 1.3 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <style type="text/css"> div{     border:1px solid #000000;     height: 80px;     width: 400px; font-size:25px; } </style> </head> <body> <div style="background-image:url(7.gif);height:300px; background-repeat:  no-repeat;background-position: 5 5; ">有关background的问题,ie8和FF是兼容的,测the image is at 5,5</div> ge <div style="background-color:#00ff00">测</div> ge <div style="background-image:url(7.gif);background-repeat: no-repeat">测</div>          ge <div style="background-image:url(7.gif)">测</div>   ge <div style="background-image:url(7.gif);background-repeat: repeat-x">测</div>     ge </body> </html>
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档