-
html inline-block 공백처리이슈 기록 2020. 10. 30. 09:50
<div class="container">
<div class="item">one</div><div class="item">two</div>
</div>
의 스타일을 입히면
.container{
width:1000px;
height: 500px;
border:1px solid red;
font-size:0;
letter-spacing:0;
word-spacing:0;
line-height:0;
}
.item{
width:50%;
height: 500px;
border:1px solid black;
display: inline-block;
/* margin-right:-5px; */
margin: 0px;
padding: 0px;
font-size:5px;
}
와 안맞아... 왜지??
인터넷에 있는 방법들을 써봐도 해결 되지 않아서
결국 flex 또는 fload:left로 처리했습니다
'이슈 기록' 카테고리의 다른 글
vue-bootstrap b-form-group label style (0) 2021.06.01 You're caching 'node_modules' but are not caching this path: /home/runner/.cache/Cypress (0) 2021.04.20 vue3 git pages 새로고침 시 404 에러 (0) 2021.04.19 vue-html-to-paper 사용기 (0) 2020.10.29 2020-8-27일 겪은 이상한 이슈(chrome 자동 번역) (0) 2020.08.27