제가 지금 하고있는 화면인데...왜 저렇게 나오는지 몰라서 묻습니다...ㅋ
하늬
이제서야 표준홈페이지를 처음 짜보는 신입입니다...
암만 생각해도 저게 왜 나오는지 몰라서 이렇게 글올립니다..T_T;
============================================================================================
HTML
============================================================================================
div class=padd15
div id=history
table class=ht border=1 summary=2001년 3월부터 2006년 3월까지의 연혁 (2001. 03. 06, 2002. 04, 2004. 11, 2006. 03)에 대한 설명 표입니다.
caption2001년 3월 ~ 2006년3월까지의 연혁/caption
colgroup
col class=w100 /
/colgroup
tbody
tr
th scope=col2006.03span class=sign|/span/th
td지역혁신센터(RIC)로 통합/td
/tr
tr
th scope=col2004.11span class=sign|/span/th
td class=dotted제 1회 대한민국 지역혁신박람회 우수센터 선정/td
/tr
tr
th scope=col2002.04span class=sign|/span/th
td class=dotted지역기술혁신센터(TIC)지정/td
/tr
tr
th scope=col2001.06span class=sign|/span/th
td class=dotted지역협력연구센터(RRC) 지정/td
/tr
tr
th scope=col class=nodotted2001.03span class=sign|/span/th
td설립/td
/tr
/tbody
/table
/div
/div
div style=clear: both/div============================================================================================
CSS
============================================================================================
/* 연혁 테이블 */
#history {position: relative; width:100%; float:right; border: 0px solid red;}
#history .sign{padding:0 0 0 10px; font-family: 돋움, Tahoma, Sans-serif; font-size:1.2em; color:#cdcdcd; }
#history table.layout {border-collapse:collapse; margin:0; padding:0; border-width:0;}
#history table.layout td {padding:0; border-width:0 !important; vertical-align:top;}
#history table caption{display:none; text-align:left; font-weight:bold; font-size: 1em;letter-spacing:0; padding: 0.8em 0 0.4em 14px; margin:0;} /* caption태그는 숨김 */
#history table.ht {border-collapse:collapse; width: 100%; margin: 1.2em 0px; border-top: 1px dotted #c8c8c8; border-bottom: 1px dotted #c8c8c8; border-left: 0px; border-right: 0px;}
#history talbe.ht tr{ } /* colgroup으로 Td스타일제어하려면 tr에 정의 */
#history table.ht th {border: 1px dotted #C8C8C8; border-width: 1px 0 0 0; padding: 6px 6px 4px 6px;}
#history table.ht th.nodotted{padding: 6px 6px 4px 6px; border: 0px; }
#history table.ht td.dotted { font-family: 돋움, Tahoma, Sans-serif; color:#555555; text-align:left; border: 1px dotted #c8c8c8; border-width: 1px 0 0 0; padding: 6px 0 4px 0;}
#history table.ht td {font-family: 돋움, Tahoma, Sans-serif; color:#555555; text-align:left; border: 0 solid red; padding: 6px 0 3px 0;}
#history table.ht thead, table.ht tfoot { background: #FFFFFF; font-weight: normal;}
#history table.ht thead th, table.ht tfoot th {background:#FFFFFF; color:#333333; font-weight:bold; text-align: center; vertical-align: middle;}
#history table.ht th {background:#FFFFFF; color: #4485d9; text-align:center; font-weight: bold;}
#history table.ht td {background:#FFFFFF;}
#history table.ht tbody td.left {background:#FFFFFF; text-align:left;}
#history table.ht tbody td.center {background:#FFFFFF; text-align:center;}
#history table.ht tbody td.right {background:#FFFFFF; text-align:right;}
====================================================================================================================
이렇게 짰는데(과장님 테이블 짠 CSS를 살짝 변경했음..) 타 브라우저에서는 잘 나오는데 유독 모질라에서 이상하게 나오네요.
이유는 테이블에 border=1값을 줘서 나오는것이라는 것은 알겠는데...이걸 어떻게 없애야하는지 모르겠습니다.
첫 표준홈페이지를 짜는것인데..ㅠㅠ 너무 막막하네요..ㅋ 도와주세요고수님들~ㅠㅠ
-
늘솜
수다님 감사합니다~ 덕분에 해결했습니다....^^ 테이블에 1준 이유를 정확하게 기억하는지모르겠는데..;; 과장님께서 css적용안되는 컴퓨터에서도 테이블이 보여야 한다고 말씀하신거 같네요. 그리고 사용자에게 최대한 편의와 뭐어떤이유를 하기위해 1을 준다고 하셨는데...제대로 기억은 안나네요.ㅠㅠ 담에 한번 더 여쭙고 다시 올리도록 할게요 다크데빌님..;
-
벚꽃
네...그렇군요...덕분에 좋은 정보 얻어가네요...^^
-
얀새
table border=\1\을 주신 이유가??? 그냥 0을 주시면 되는데...무엇때문에...1을 주신건가요??
-
원술
border-collapse:collapse 로 인해서 나타나는 현상일거에요.
저절 지워주고 th에 대한 보더, td에 대한 보더로 지정해주면 문제 없을겁니다.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2702792 | vertical-align이 적용이 안되네요...ㅜ.ㅜ (4) | 라미 | 2025-07-26 |
2702735 | c++ 로 mmpi 프로그램을 만드는데 | 푸른잎 | 2025-07-25 |
2702705 | 그누보드 갤러리게시판 오류 문의합니다. | good | 2025-07-25 |
2702679 | 동영상의 흰색배경을 투명하게 플래시로 임포트하려면?? (3) | 별솔 | 2025-07-25 |
2702655 | 예약 부분 & 페이지 번역 플러그인 질문해요. (3) | 연하늘 | 2025-07-25 |
2702632 | 틀린부분이 어디죠?? 컴파일하면 오류가 떠요 (3) | 해사랑해 | 2025-07-24 |
2702605 | JSFL에 Select Unused Items는 설마 없는 건가요! | 카제 | 2025-07-24 |
2702576 | [도서질문] 리팩토링 HTML 보신 분 계신가요? (4) | 매디 | 2025-07-24 |
2702543 | C++ 프로그램을 웹연동시킬경우 | 아이폰 | 2025-07-24 |
2702487 | 저작권관련 긴급질문요~ (6) | 지희 | 2025-07-23 |
2702459 | 최근 포트폴리오 부분 질문드려요 | 흰가람 | 2025-07-23 |
2702431 | 플래시9에서 lite는 얼마나 발전할까요? (6) | 자올 | 2025-07-23 |
2702375 | mvc패턴 게시판 ..........아힘들어요 고수님들좀상세히도와주세요;; (3) | 냐하 | 2025-07-22 |
2702317 | ie6메뉴 보더문제 (3) | VanilLa | 2025-07-22 |
2702287 | c++ 변수 중간값 뽑아내서 비교하는 법 | 헛장사 | 2025-07-21 |
2702258 | AS2,0 함수에서 매개변수의 타입이 각각 다를때는? (5) | 하림 | 2025-07-21 |
2702228 | 이 표현은 무엇인지... 몰라서요. (2) | 도란도란 | 2025-07-21 |
2702197 | dll 인젝션 사용법좀 알려주세요 | 새밝 | 2025-07-21 |
2702147 | dd 안에 div들어가도 되나요? (8) | 꿈 | 2025-07-20 |
2702086 | [질문]세션 박스 질문입니다. (1) | 하연 | 2025-07-20 |