2026, 새로운 도약을 시작합니다.

dt 태그 들여쓰기된건가요? 채택완료

1893647683_1584598138.8546.jpg

            <div class="sub_ss5">
                <h2>open-close</h2>
                <dl>
                    <dt>월/화/목/금</dt>
                    <dd>am 10:30 ~ pm 09:00</dd>
                    <dt>수 요 일</dt>
                    <dd>am 10:30 ~ pm 07:00</dd>
                    <dt>토 요 일</dt>
                    <dd>am 10:30 ~ pm 04:00</dd>
                </dl>
                <p style="text-align:left;">※ 일요일 및 공휴일은 휴진입니다.</p>
            </div>

이렇게 작성해서 나온 결과인데요...

수요일만 안쪽으로 들어가서 해당태그에 마진0패딩0을 주었는데도 계속 요지부동입니다...

css는

.sub_ss5 {width: 366px; flex: 1; text-align: left; font-family: 'Renogare','Noto Sans KR','돋움', sans-serif; font-size: 1em; font-weight: 300; letter-spacing:-0.5px; line-height: 2em;  color: #fff; font-style: normal;}
.sub_ss5 h1 {font-size: 2.5em; font-weight: 600; letter-spacing: -1px; margin: 0;}
.sub_ss5 h2 {font-size: 2.3em; font-weight: 600; margin: 10px 0;}
.sub_ss5 em {font-size: 1.2em; font-weight: 400; line-height: 2.5em; font-style: normal;}
.sub_ss5 p {font-size: 0.9em; font-weight: 300; }
.sub_ss5 dl {display: block;}
.sub_ss5 dt {float: left; margin-bottom: 5px; width: 100px; font-size: 1.2em; font-weight: 300; text-align: left;}
.sub_ss5 dd {margin-bottom: 5px; width:350px; font-size: 1.5em; font-weight: 600; line-height: 1; letter-spacing: -0.03em; text-align: right;}

입니다...ㅜ 도와주세요...

답변 1개

채택된 답변
+20 포인트

codepen 사이트 이용해 질문해 보세요.

https://codepen.io/pen/

답변자분들이 쉽게 도와드릴 수 있어요.

ps.

https://codepen.io/sinbi/pen/oNXyrXy

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

감사합니다 선생님 고쳤습니다 ^^

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고