我正在建立一个有个人资料的网站,我也设计了后端,以便有人可以处理网站而无需进入代码。 我遇到了会话问题。我不知道如何处理多个会话,以免混淆。
我一直未能跟踪会话,导致错误。
我的问题是:
使用多个会话时的最佳做法是什么,以免混淆所有内容? &安培;
会议是否从安全角度来处理?
答案 0 :(得分:0)
在bootstrap中你有12列,如果你想中心col-lg-9首先它应该是一个事件编号列到中心意味着 你应该把col-lg-2放在它之前
<div class="row">
<h1>PLACEMENT CELL</h1>
<h3>P.G.D.A.V. COLLEGE</h3>
<div id="about" class="col-lg-2"> </div>
<div id="about" class="col-lg-8">
<p>
Pannalal Girdharlal Dayanand Anglo-Vedic (PGDAV) college, founded in the year 1957 by DAV College Managing Society draws its traditions of excellence learning from Delhi University and DAV Education Trust. This co-educational institution undertakes teaching in eleven departments offering both undergraduate and post graduate courses.
</p>
<p>
Over the years, the college has emerged as an epitome of perfection under the stewardship of its highly qualified and experienced faculty which has led to the creation of extremely talented and academically bright students in all the disciplines.
</p>
<p>
Apart from ensuring regularized learning platform, the college provides supportive vocational experience through a number of co-curricular societies and academic associations in various subjects. The college strives to provide an environment that nurtures qualities of humanism and inculcates values of team work, innovation and initiate.
</p>
</div>
<div id="about" class="col-lg-2"> </div>
</div>
答案 1 :(得分:0)
方法1)添加
col-lg-offset-2
像这样:
<div id="about" class="col-lg-offset-2 col-lg-9">
方法2)像这样添加类
center
:
<div id="about" class="col-lg-9 center">
.center {
margin: 0 auto;
width:75%;
}
答案 2 :(得分:0)
由于set -e
元素的容器元素已经已经居中,您只需将#about
而不是col-lg-12
应用于col-lg-9
,它在容器的整个宽度上延伸,从而使其居中。
这是一个codepen:https://codepen.io/anon/pen/ZyLgvX