hr 样式实现1px直线
hr 样式实现1px直线
发布时间:2016-12-27 来源:查字典编辑
摘要:无标题文档hr{border-bottom:1pxsolid#D9D9D9;height:1px;}提示:您可以先修改部分代码再运行

<!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=gb2312" /> <> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>无标题文档</title> <style type="text/css"> hr{ border-bottom:1px solid #D9D9D9; height:1px; } </style> </head> <body> <hr /> </body> </html>

提示:您可以先修改部分代码再运行

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新 Div+Css教程学习
热门 Div+Css教程学习
网页设计子分类