테이블 상단에 라인을 굵게 하고 싶습니다.

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
테이블 상단에 라인을 굵게 하고 싶습니다.

QA

테이블 상단에 라인을 굵게 하고 싶습니다.

본문

수고하십니다.

테이블 상단(지역위에요)에 라인을 굵게해서 보여주고 싶은데

잘 모르겠어서요.

 

조언 좀 부탁드립니다.

 


<p>
   <table align="center" bgcolor="#fafafa" cellpadding="10" cellspacing="10" style="border-color: #e5e5e5; border-style: solid; border-width: 1px; border-collapse: collapse; width: 100%;">
      <tbody>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">지역</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">연락처</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">주소</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;"> 태그</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         </tbody>
      </table>
   </p>

이 질문에 댓글 쓰기 :

답변 4


<p>
   <table align="center" bgcolor="#fafafa" cellpadding="10" cellspacing="10" style="border-color: #e5e5e5; border-style: solid; border-width: 3px;border-left: 1px;border-right: 1px;border-bottom: 1px; border-collapse: collapse; width: 100%;">
      <tbody>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">지역</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">연락처</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;">주소</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         <tr>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 20%;"> 태그</td>
            <td style="border-style: solid; border-width: 1px; border-color: #e5e5e5; width: 80%;"> </td>
            </tr>
         </tbody>
      </table>
   </p>

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

 

더 자세한 건 아래 게시판 참고해 작업해 보세요.

테이블: https://homzzang.com/b/css?sca=table

테두리: https://homzzang.com/b/css?sca=border

https://developer.mozilla.org/en-US/docs/Web/CSS/border-top

참고하세요.

<style>

table {border-top:5px solid #cc0000;}

</style>

답변을 작성하시기 전에 로그인 해주세요.
전체 0
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT