摘要
本文将盒模型技术应用于布局网页的页面,摒弃了传统表格布局网页的方式并精简了网页代码,使网页布局格式更加趋于标准化。实践结果表明,在网页设计中采用盒模型技术DIV标签位置更加灵活,网页外观修饰效果更加出众,对网页页面元素排版精确度能够达到像素级。
This paper applies the box model technology to the layout of web pages,abandons the traditional way of table layout of web pages,simplifies the web page code,and makes the web page layout format more standardized.The practical results show that the box model technology used in web page design makes the position of DIV tags more flexible,the effect of web page appearance modification more outstanding,and the accuracy of web page element typesetting can reach the pixel level.
作者
辛浩
李玲玲
XIN Hao;LI Lingling(Department of Computer Science and Technology,Huaibei Vocational and Technical College,Huaibei,China,235000)
出处
《福建电脑》
2022年第8期25-28,共4页
Journal of Fujian Computer
基金
安徽省高校优秀青年人才支持计划项目(No.gxyq2017232)
淮北职业技术学院自然科学研究重点项目(No.2019-A-2)的资助。