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>
提示:您可以先修改部分代码再运行