我试着地址移到最左边的角落里工作,但它并没有在所有的工作。
这是我试图将地址移动到最左边的角落,但如此 远远没有工作。
<!-- Page Content -->
<div class="container">
<!-- Column address below -->
<div class="column">
<div class="row">
<div class="col-md-6">
<p class="example">
Baylight Construction LLC 1022 boyle street
<br>Tel- (232)233-4323 Fax-(232)233-2323
</p>
</div>
</div>
</div>
</div>
CSS:
.nav a {
color: white;
font-size: 15px;
font-weight: bold;
padding: 40px 35px;
text-transform: uppercase;
}
nav li {
display: inline;
}
img {
height: 175px;
width: 175px;
}
.fixed-nav-bar {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
height: 165px;
background-color: green;
}
//I've tried that class example and row and none of didn't move to
//far left corner
.example {
text-align: left;
float: left;
margin-left: 5px;
padding-left: 10px;
}
.row {
float: left;
}
创建问题现场https://jsfiddle.net例子 –