이미지를 플로트하려 할 때 두 개의 열로 나누는 대신 하나의 큰 열에서 멈추게됩니다. float 코드는 여기에서 CSS의 아래쪽을 향하고 있습니다. 왜 이런 일이 일어날까요?왜이 CSS는 이미지를 크롬 열로 옮겨 놓지 않습니까
나도 HTML을 게시 할 것입니다하지만 난 할 때마다 자동으로 내용을 표시로 변환 :(?
a {
text-decoration: none;
}
img {
max-width: 100%;
}
a h1 {
text-align: center;
}
.main-header{
padding-top: 17px;
height: 850px;
background: linear-gradient(#fff, transparent 40%),
linear-gradient(0deg, #fff, transparent 50%),
url('../MarxBros.jpg') no-repeat center;
}
.intro{
text-align: center;
}
.secondary-content{
width: 45%;
padding-left:50px;
padding-right: 50px;
margin:auto;
max-width:960px;
}
.quote1,.quote3,.quote5{
float:left;
}
.quote2,.quote4,.quote6{
float:right;
}
.group:after {
content: "";
display: table;
clear: both;
}
당신의 HTML을 추가하고 선택하고 서식을'{}'아이콘을 클릭합니다. – anpsmn
포맷 가이드를 북마크해도됩니다. http://stackoverflow.com/help/formatting –