Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何放大引导的h1.page-header行?_Html_Css_Twitter Bootstrap_Twitter Bootstrap 3 - Fatal编程技术网

Html 如何放大引导的h1.page-header行?

Html 如何放大引导的h1.page-header行?,html,css,twitter-bootstrap,twitter-bootstrap-3,Html,Css,Twitter Bootstrap,Twitter Bootstrap 3,请问如何在引导程序的h1.page-header下扩展行 这里有一个: ABC 提前谢谢 我想你的意思是放大,因为它已经是全宽的了 将此添加到CSS以获得最简单的解决方案 h1.page-header { border-width: 3px; } 对修订后问题的答复。正确的解决方案取决于您的页面布局、围绕h1的元素及其边距和填充等。我不知道您的布局是什么,但请尝试以下方法: a)将文本向右移动 h1.page-header { padding-left: 20px; } h

请问如何在引导程序的h1.page-header下扩展行

这里有一个:

ABC

提前谢谢

我想你的意思是放大,因为它已经是全宽的了

将此添加到CSS以获得最简单的解决方案

h1.page-header {
    border-width: 3px;
}

对修订后问题的答复。正确的解决方案取决于您的页面布局、围绕h1的元素及其边距和填充等。我不知道您的布局是什么,但请尝试以下方法:

a)将文本向右移动

h1.page-header {
    padding-left: 20px;
}
h1.page-header {
    padding-left: 20px;
    margin-left: -20px
}
或b)将整个页眉向左移动,并通过将文本向右移动相同距离进行补偿

h1.page-header {
    padding-left: 20px;
}
h1.page-header {
    padding-left: 20px;
    margin-left: -20px
}

对不起,如果我不清楚的话,我说的是门楣的宽度。我想把它的宽度增加到左边。