我正在为我的网站制作一个简单的主页,但我希望能够均匀地分散.我可以将左边的左边和右边的边缘对齐,但我似乎无法将中间位置保持在页面的中心位置.我尝试了很多东西,但它们都不起作用,看看我的网站看看我想做什么,井在图像滑块下面.这是我已经完成的代码,但CSS是默认的bootstrap min css,对颜色进行了一些调整.
<div class="container">
<div class="row">
<div class="col-lg-4 well" style="margin-left: 10px !important; width: 330px;
margin-right: 10px; padding: 4px !important; min-height: 330px; ">
<center>
<img style="height: 135px;" src="img/ts.png" />
<h3>TeamSpeak 3</h3>
<br />
<p>Chat with us on our TeamSpeak at: <br />
<b><a href="ts3server://ts.clustermc.net">ts.clustermc.net</a></b>
<br /> So, come have a wonderful conversation with us!</p>
</center>
</div>
<div class="col-lg-4 well" style="margin-left: 10px !important; width: 330px;
margin-right: 10px; padding: 4px !important; min-height: 330px; ">
<center>
<img style="height: 135px;" src="img/wool.png" /> …Run Code Online (Sandbox Code Playgroud)