이 div의 배경색을 설정하려고하지만 일부 이유 때문에 나머지는 투명합니다 (표시하지 않음). 나는 무엇을 놓쳤는가?div에 대해 배경색을 표시 할 수 없습니다.
<div class="chesse_people">
<img class="badge-icon" src="img/cheese_expert.jpg">
<h4>Chief Cheese Taster - Dave Le Conk</h4>
<p class="chesse_people">text here.</p>
</div>
.cheese_people {
background-color: #ed6c85;
float:left;
width:70%;
}
.badge-icon {
float:left;
margin-right:20px;
}
당신은 당신의 클래스를 맞춤법이 틀린. 'class = "chesse_people"'는'class = "cheese_people"'이어야합니다. http://jsfiddle.net/j08691/2JvCe/ – j08691
도움 주셔서 감사합니다. – Dano007
이 질문은 오타로 인한 오류이기 때문에 주제와 관련이없는 것으로 보입니다. – madth3