CSS Attributes Reference
来源:互联网 发布:阿里云数据库服务器 编辑:程序博客网 时间:2024/06/05 06:11
1. left设置元素的左边距,该属性定义了定位元素左外边距边界与其包含块左边界之间的偏移。
注释:如果 "position" 属性的值为 "static",那么设置 "left" 属性不会产生任何效果。
说明
对于 static 元素,为 auto;对于长度值,则为相应的绝对长度;对于百分比数值,为指定值;否则为 auto。
对于相对定义元素,left 的计算值始终等于 right。
2. position: absolute/relatvie
其主要的区别在于元素之间位置计算方法的不同,absolute参照其父类,relative参照其左边的兄弟节点。
一般的规则是大的块元素按照relatvie, 大元素内部按照absolute位置进行定义。
3. span: 用来组合显示文档内的内容,通过式样来进行,差异化显示内容。
4.
- CSS Attributes Reference
- Android Studio Tools Attributes Reference
- Android Tools Attributes Reference (译)
- Attributes
- Attributes
- $$Attributes
- The Ultimate CSS Reference [ILLUSTRATED]
- CSS Properties To JavaScript Reference Conversion
- CSS Length Units Reference 长度单位
- CSS Properties To JavaScript Reference Conversion
- Reference
- reference
- Reference
- Reference
- reference
- reference
- Reference
- Reference
- MTK 添加softkey到确定界面
- 实验2 计算机和交换机的基本配置
- 历史数据统计-存储过程的应用
- InitCommonControlsEx调用失败,manifest作怪
- 实验二 配置端口聚合
- CSS Attributes Reference
- 8.3判断单位矩阵
- 实验三 基本vlan配置
- 实验四 primary Vlan 和secondary Vlan
- 某物联网教学平台技术架构图
- Struts中使用displaytag
- 实验六 路由器bootrom的升级
- WCF 聊天室程序代码详细讲解教程
- C++的XML编程 2011.04.20