ul li 이미지와 글씨를 같이 써서 올렸는데 간격이 따로따로 먹어요...
그대와나
style type=text/css
.black_txt2{font:12px dotum; color:#363b43; font-weight:normal; margin-top:-1px; margin-left:0px; line-height:200%; display: block; vertical-align:bottom;}
/style
body
table
tr
td
table width=100% border=0 cellspacing=0 cellpadding=0 style=margin-top:35px;
tr
td width=9 height=18img src=images/index_dot.gif width=9 height=18 //td
td width=123 align=center class=title-black약정금액 설정하기 /td
td background=images/index_dot-bg.gif /td
/tr
/table
table width=100% border=0 cellspacing=0 cellpadding=0 style=margin-top:4px;
tr
td
ul style=list-style:none; margin-top:0px; margin-left:0px;
li class=black_txt2img src=images/reservation_icon.gif/
약정금액은 매월 결제일에 회원님의 계좌에서 삼성카드로 자동이체되어 보관되는 금액입니다./li
li class=black_txt2img src=images/reservation_icon.gif/
매월 생활비(일시불)로 사용하는 금액만큼 약정금액을 신청하세요./li
li class=black_txt2img src=images/reservation_icon.gif/
약정금액은 10만원에서 200만원까지 가능하며 10만원 단위로 선택할 수 있습니다./li
li class=black_txt2img src=images/reservation_icon.gif/
별도 카드 발급없이 생활비재테크서비스를 신청만 하면 즉시 이용할 수 있습니다./li
/ul
/td
/tr
/table
table width=100% border=0 cellspacing=0 cellpadding=0 style=margin-top:35px;
tr
td width=9 height=18img src=images/index_dot.gif width=9 height=18 //td
td width=68 align=center class=title-black유의사항/td
td background=images/index_dot-bg.gif /td
/tr
/table
table width=100% border=0 cellspacing=0 cellpadding=0 style=margin-top:8px;
tr
td
ul style=list-style:none; margin-top:0px; margin-left:0px;
li class=black_txt2img src=images/reservation_icon.gif/
생활비재테크서비스는 일시불거래에만 사용되며, 할부거래에는 사용할 수 없습니다./li
li class=black_txt2 단, 일시불 거래 중 다음의 경우에는 적용되지 않습니다./li
li class=black_txt2 - 해외 사용, 세이브 할부 매출, 보너스포인트(할부)사용, sms (s.infocare,s.creditcare), 대행승인(온라인), 택시비 승인,/li
li class=black_txt2 연회비, 현금서비스, 대출서비스/li
li class=black_txt2img src=images/reservation_icon.gif/
생활비재테크서비스는 개인신용카드 및 가족카드만 이용 가능합니다./li
li class=black_txt2 - 법인카드, 체크카드, 올앳카드는 서비스를 이용할 수 없습니다./li
li class=black_txt2img src=images/reservation_icon.gif/
약정금액 충전(옮겨놓기)는 자동이체계좌만 이용 가능합니다./li
/ul
/td
/tr
/table
/td
/tr
/table이렇게 했는데 li 글씨 간격이 일정하게 먹지가 않아요! 글씨와 이미지가 같은li에 있으면 line-height 값이 일정하게 먹지 않아요?
-
딥블루
수다님 감사해요~ ㅎㅎ
-
매미꽃
line-height의 기준점과 text-baseline의 기준점이 text와 img가 틀려서 그런 현상이 발생 하는건데요.
대부분은 image의 vertical-align:middle로 해결하실수 있습니다. ㅇ_ㅇa... -
겨울바람
이미지에 vertical-align을 조절 하시거나, 이미지를 li 의 배경이미지로 넣어보세요.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2697885 | valign 을 대치할수 있는 것은~~ (1) | 족장 | 2025-06-12 |
2697855 | 오라클이랑 궁합이 맞는 언어는 자바일까요? c++일까요? (4) | 배꽃 | 2025-06-11 |
2697830 | [질문]어느 범위로 들어가면 다음 프레임으로 넘어갈려면??? | 맑다 | 2025-06-11 |
2697806 | [질문] 이미지나 텍스트를 플래시상으로 불러올때 | 미라 | 2025-06-11 |
2697778 | 투명도 css-validator 체크 문의 (3) | 츄릅 | 2025-06-11 |
2697729 | 오류가딱1개...... | 아롱별 | 2025-06-10 |
2697703 | 개인 일기장 홈페이지 만들기 | 푸르 | 2025-06-10 |
2697676 | nChar 질문 | 소율 | 2025-06-10 |
2697652 | xhtml 관련 질문이요 ! (6) | 클 | 2025-06-09 |
2697626 | warning: variable "dbUS" was declared but never referenced (1) | 꽃내 | 2025-06-09 |
2697567 | mfc 질문드립니다! (2) | 물맑 | 2025-06-09 |
2697542 | iframe은 표준? 비표준? (2) | 조은 | 2025-06-08 |
2697516 | datagrid 활성/비활성시 알파값 변경 | 시내 | 2025-06-08 |
2697487 | html5 css3 학원 추천좀해주세요 (1) | 예그리나 | 2025-06-08 |
2697459 | 이런 질문도 답변해주실지는 모르겠습니다만 병특에 관한 질문입니다. | 승아 | 2025-06-08 |
2697422 | 가운데 정렬하는 방법좀 흑흑흑... (3) | 목련 | 2025-06-07 |
2697395 | 홈페이지 기본구조에 대해서... (6) | 모든 | 2025-06-07 |
2697366 | 에..조금 짜보고 다시 질문입니다. (2) | 나샘 | 2025-06-07 |
2697333 | li 가운데 정렬.....도와 주세용... (7) | 초고리 | 2025-06-07 |
2697284 | 이미지를 흐리게 (2) | 난새 | 2025-06-06 |