테이블에서 글자 상하 가운데 정렬하기 채택완료
글자를 표의 상하 중앙정렬 하고 싶습니다.

아래는 위 표의 소스입니다.
</p><p><table border="0" cellpadding="0" cellspacing="0" style="border:2px solid #ffffff; border-left:0; border-bottom:0;" class="__se_tbl"></p><p><tbody></p><p><tr></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class="" margin="auto"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>텍스시공</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>T-BAR</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>마이톤</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>석고2P</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p></tr></p><p><tr></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>단파.SMC</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>스터드 칸막이</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>학원 칸막이</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><td style="border-width: 0px 0px 2px 2px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); border-image: initial; border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; width: 360px; height: 40px; background-color: rgb(255, 170, 0);" class=""></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><p style="text-align: center; " align="center"></p><p><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-size: 12pt; color: rgb(255, 255, 255);"><b>화장실 칸막이</b></span></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></p></p><p><span class="Apple-tab-span" style="white-space:pre"> </span></td></p><p></tr></p><p></tbody></p><p></table></p><p>
</p><div>
답변 4개
개발자 도구에서 확인해봤는데
</font></p><p><font face="나눔바른고딕, NanumBarunGothic">p {</font></p><p><font face="나눔바른고딕, NanumBarunGothic"> margin: 0 0 10px;</font></p><p><font face="나눔바른고딕, NanumBarunGothic">}</font></p><p> </p><p><font face="나눔바른고딕, NanumBarunGothic">
/eyoom/theme/company_e3/plugins/bootstrap/css/bootstrap.min.css에 영향을 받네요.
답변에 대한 댓글 2개
댓글을 작성하려면 로그인이 필요합니다.
style을 클래스나 , id로 정의하셔서 사용하세요.....;;
그리고 크롬 , 익스에서도 잘나오는데요?
답변에 대한 댓글 3개
수정중이라 변할 수 있습니다.
align="center"은 적용안되네요
sitedesign.kr/eyoom/theme/company_e3/plugins/bootstrap/css/bootstrap.min.css
부트스트랩 p태그에 영향을 받네요 ^^
bootstrap.min.css의 영향을 받아 글자아래에 10px을 강제삽입한다는 댓글을 확인하고,
p함수에 margin: 0 0 0px; 을 삽입하여 해결하였습니다.
다시한번 댓글 감사말씀드립니다^^
댓글을 작성하려면 로그인이 필요합니다.
그리고 스타일은 별도로 만들어서 이용하시길...
또는
http://okkks.tistory.com/942">http://okkks.tistory.com/942
참고 해보세요~~
댓글을 작성하려면 로그인이 필요합니다.
전 위 소스 적용 시 가로세로 모두 가운데 정렬되서 보이네요. IE11, 크롬(버전 59.0.3071.36(공식 빌드) beta (64비트))
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다."padding-top:5px; 를 임시로 넣어보세요~
답변에 대한 댓글 1개
bootstrap.min.css의 영향을 받아 글자아래에 10px을 강제삽입한다는 댓글을 확인하고,
p함수에 margin: 0 0 0px; 을 삽입하여 해결하였습니다.
다시한번 댓글 감사말씀드립니다^^
답변에 대한 댓글 2개
bootstrap.min.css의 영향을 받아 글자아래에 10px을 강제삽입한다는 댓글을 확인하고,
p함수에 margin: 0 0 0px; 을 삽입하여 해결하였습니다.
다시한번 댓글 감사말씀드립니다^^
그럼 margin: 0 0 0px;로 강제로 잡아주면 되겠네요