<div class="left">
<a href="index.php">
<img class="logo" src="images/logo.png" alt="logo" width="100%" height="auto" />
</a>
<img class="certificates" src="images/certificates.png" alt="Certificates" />
</div>
.left {
background-image: url("../images/left_background.jpg");
background-repeat: repeat-x;
height: 600px;
width: 25%;
float: left;
margin-left: 6%;
}
.certificates {
position: relative;
margin-bottom: 5px;
}
그 중에서 margin-bottom
이 작동하지 않습니다. 이미지가 항상 <div>
의 맨 아래에 있도록하고 싶습니다. 하지만 내가 margin_bottom: 5px
일 때 아무 일도 일어나지 않습니다. 내가 여기서 뭘해야하지?marginbottom이 작동하지 않습니다.
이미지의 맨 아래에 항상 있어야할까요? – Filip
@ fish40 : 귀하의 질문에 대한 답이 도움이 되었다면, 동의라고 표시하십시오. – Connum