简体   繁体   English

我的h4标签被切断了

[英]My h4 tag is being cut off

I am making a website using Bootstrap 3 and when I add an h4 tag it gets cut off at the edge of the page. 我正在使用Bootstrap 3创建一个网站,当我添加h4标签时,它会在页面边缘被截断。

Here is a CodePen 这是一个CodePen

I am using the latest version of Bootstrap 3 我正在使用最新版本的Bootstrap 3

<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

<div class="container, row">删除行类,然后在左右两边添加更多-15px的边距以确保行居中。或者在需要row类的情况下也可以删除逗号。

There are some mistakes in HTML. HTML中存在一些错误。

<div class="container row"> Remove row class and at the top of HTML remove container class as it is not required.
https://codepen.io/shahi_rupali/pen/qNypXN

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM