我如何修复,以便我的网页上的文字不会太靠近窗口的左边缘?阅读起来很奇怪,因为它与左边的距离太远了。
<h1 class="title text-center">Privacy Policy</h1>
<b>Personal identification information</b><br><br>
We may collect personal identification information from Users in a variety of ways, including, but not limited to, when Users visit our site, register on the site, place an order, subscribe to the newsletter, fill out a form, and in connection with other activities, services, features or resources we make available on our Site. Users may be asked for, as appropriate, name, email address, mailing address, phone number, credit card information. Users may, however, visit our Site anonymously. We will collect personal identification information from Users only if they voluntarily submit such information to us. Users can always refuse to supply personally identification information, except that it may prevent them from engaging in certain Site related activities.<br><br>
<b>Non-personal identification information</b><br><br>
We may collect non-personal identification information about Users whenever they interact with our Site. Non-personal identification information may include the browser name, the type of computer and technical information about Users means of connection to our Site, such as the operating system and the Internet service providers utilized and other similar information.<br><br>
<b>Web browser cookies</b><br><br>
答案 0 :(得分:1)
使用css和padding
将您的内容包装在容器中
<div class="container"> ... </div>
并使用填充:
.container {
padding: 15px;
}
答案 1 :(得分:0)
除了上面使用padding-left来控制左边的填充。
P {
padding-left:10px;
}