css - 从网站中删除顶部空间

标签 css

我想删除 this 上的top space网站。我试过使用 firebug 但我无法找到顶部空间的来源。

请指导。谢谢。

最佳答案

您不需要从页面中删除 hr。只需添加

<hr style="height:10px;background-color:#3E6A56;margin: 0px;">

可能 hr 标签在您的 css 中定义了边距,这会导致额外的空间。

关于css - 从网站中删除顶部空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32565183/

相关文章:

html - CSS text.overflow 与 @Html.LabelFor

php - 拉维尔 : when i return styled string from database its appear with the html tags

css - 移除新的 Firefox 自动填充颜色

html - 工具提示的定位元素

javascript - 为什么链接 offsetLeft 考虑列表填充?

css - 从 SCSS 变量创建 CSS 自定义属性

html - 将按钮放入 Canvas 中

php - 显示在 div 之前的 The_excerpt

html - 使用 CSS 倒圆 Angular

javascript - 由父表单元格控制的复选框