Html 文本太靠近屏幕边缘

Html 文本太靠近屏幕边缘,html,css,Html,Css,我如何修复网页上的文本,使其不太靠近窗口的左边缘?因为太过向左对齐,所以阅读起来很奇怪 <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

我如何修复网页上的文本,使其不太靠近窗口的左边缘?因为太过向左对齐,所以阅读起来很奇怪

<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>
隐私政策
个人身份信息

我们可以通过多种方式从用户处收集个人身份信息,包括但不限于用户访问我们的网站、在网站上注册、下单、订阅时事通讯、填写表格以及与我们在网站上提供的其他活动、服务、功能或资源相关的信息。用户可能会被要求提供姓名、电子邮件地址、邮寄地址、电话号码、信用卡信息(视情况而定)。但是,用户可以匿名访问我们的网站。只有在用户自愿向我们提交个人身份信息时,我们才会向用户收集这些信息。用户可以始终拒绝提供个人身份信息,除非这可能会阻止他们参与某些与网站相关的活动。

非个人身份信息

每当用户与我们的网站互动时,我们可能会收集他们的非个人身份信息。非个人身份信息可能包括浏览器名称、计算机类型和有关用户与我们网站连接方式的技术信息,如使用的操作系统和互联网服务提供商以及其他类似信息。

网络浏览器cookies

使用css和填充

将内容包装在容器中

<div class="container"> ... </div>

除上述内容外,使用padding left仅控制左侧填充

P {
    padding-left:10px;
 }

我发现css属性的使用范围也在这里

 margin: 25px;
另请注意:

 margin-top: 25px;
 margin-bottom: 25px;
 margin-left: 25px;
 margin-right: 25px;
这也是开始检查媒体查询的好时机,因此您可以根据设备(也称为屏幕宽度)更改边距

检查断点。您可以将站点设计为300px宽度,然后使用媒体查询来定义屏幕大小增加时的属性更改,或者您也可以反向设计,将其设计为桌面计算机1400px+并在断点处缩小


为包含元素添加填充或减少宽度。也发布CSS怎么样?
 margin-top: 25px;
 margin-bottom: 25px;
 margin-left: 25px;
 margin-right: 25px;
body {
  margin: 25px;
  display: flex;
}

@media (max-width: 1400px) {
  body {
    margin: 10px;
  }
}

@media (max-width: 1024px) {
  body {
    margin: 0px;
    flex-direction: column;
  }
}