background属性 设置有感
来源:互联网 发布:360°全景图js 编辑:程序博客网 时间:2024/05/20 11:22
实例
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.abc{
background:url(1.jpg) -99px(left 坐标为负) -44px( top 坐标); /* 注意:background-image不行*/
width:500px; /* 注意:需要多宽 引用多宽,否则会重复*/
height:500px;/* 注意:需要多高 引用多高,否则会重复*/
}
</style>
</head>
<body>
<div class="abc" >343</div>
</body>
</html>
- background属性 设置有感
- html中background-image属性的设置
- html中background-image属性的设置
- CSS background属性之背景设置详解
- CSS中background-image:url()属性设置
- background属性
- background属性
- 设置网页背景图片平铺方式 background-repeat 属性
- css background 属性设置鼠标滑过图片跳动效果
- checkbox的button和background属性设置分别
- 关于设置background属性图片不显示的原因
- TextView 设置background(backgroundResource)后padding等属性无效
- background-position 属性设置背景图像的起始位置
- HTML基础学习-15-background 背景相关属性设置
- CSS background-position 属性
- background 用法 属性
- css背景属性 Background
- android TextView background属性
- 关于分类首条记录的提取
- 《高性能网站建设指南》笔记
- 设置标志位提取字符串
- SQL 游标
- 类类型的使用
- background属性 设置有感
- 怎么理解性能测试中的TPS与HPS
- WINCE快捷方式详解
- 内联函数详解
- システム情報 記事一覧
- 数据库备份/恢复
- 客户区和非客户区?窗口客户区和视图客户区?
- 生成随机数
- HTTP协议详解