基于CSS的定位属性在网页设计中的应用
Application of Location Attribute Based on CSS in Web Design
DOI: 10.12677/SEA.2019.83020, PDF,   
作者: 高 葵*, 付晓翠, 李蔚妍:山东农业大学信息科学与工程学院,山东 泰安
关键词: CSS定位属性静态定位相对定位绝对定位固定定位CSS Position Static Relative Absolute Fixed
摘要: 在网页设计中,可以通过CSS的定位属性实现网页元素的定位设置,进而实现页面布局。CSS的定位属性由不同的属性值决定了网页元素不同的定位方式。本文通过举例对CSS的定位属性进行比较,并分析说明,给出使用不同CSS的定位属性法进行元素定位的使用方法和注意事项,达到掌握的目的。
Abstract: In web design, the location of web elements can be set through the location attributes of CSS, and then the layout of the page can be realized. The location attributes of CSS have different attribute values, which determine the different location methods of web elements. This paper compares the positioning attributes of CSS with examples, and analyzes and explains the methods and points for attention of element positioning using different positioning attributes of CSS, so as to achieve the purpose of mastering.
文章引用:高葵, 付晓翠, 李蔚妍. 基于CSS的定位属性在网页设计中的应用[J]. 软件工程与应用, 2019, 8(3): 163-171. https://doi.org/10.12677/SEA.2019.83020

参考文献

[1] 温谦. CSS网页设计标准教程[M]. 北京: 人民邮电出版社, 2015: 84-90.
[2] 刘瑞新. 网页设计与制作html + css + javascript [M]. 北京: 机械工业出版社, 2013: 112-113.
[3] 黄玮雯. 网页界面设计[M]. 北京: 人民邮电出版社, 2014: 100-103.
[4] 庄向泽. 网页制作综合技术教程[M]. 第2版. 北京: 人民邮电出版社, 2015: 277-281.
[5] 李毅. 网页制作与开发教程[M]. 北京: 人民邮电出版社, 2015: 193-196.
[6] 修毅. 网页设计与制作[M]. 北京: 人民邮电出版社, 2015: 138-139.
[7] 王海波. 网页设计与制作——基于计算思维[M]. 北京: 机械工业出版社, 2014: 100-105.