ํ์ ์ ๋ชฉ ์ฆ th ๊ฐ ์๋ ๋์์ธ์ ํ๋ฅผ ๋ง๋ค๋
๋์ด๊ฐ ์กฐ์ ๋์ง์๋๋ค.
์ด์ ๋ caption ์ position absolute ๊ฐ ๊ฑธ๋ ค์๊ธฐ ๋๋ฌธ (์ด์ ๋ ๋๋๋ชฐ๋)
ํด๊ฒฐํด์ฃผ๊ธฐ ์ํด์ ํฌ์ง์ ์ ์ด๊ธฐํ ์์ผ ๋ฒ๋ฆฐ๋ค.
๊ทธ๋ผ
๊ทธ๋ผ ์บก์ ์ด 1X1 ๋ก ์กํ๋ ํฌ๊ฒ ์ํฅ์ด ์์
(๊ฐ์์ th๋ฅผ ๋ง๋ค์ด์ฃผ๋๊ฑด ์ ๊ทผ์ฑ์ ์๋ฐ๋๋ฏ๋ก ์๋จ)
ํ ์ด๋ธ ์บก์ ๋ฒ๊ทธ
- ํ ์ด๋ธ์ <thead>๊ฐ ์์ ๊ฒฝ์ฐ ๋ฐ์
- <caption>์ด position: absolute ์ผ ๊ฒฝ์ฐ ์นธ์ ๊ธธ์ด ์กฐ์ ์ด ์๋จ
๋ฐฉ๋ฒ1
colgroup ์ ๋ง๋ค์ด col width ๋ก ์ง์ ํด์ค๋ค
๋จ > html ํ๊ทธ๋ฅผ ์ผ์ผํ ์กฐ์ ํด์ฃผ์ด์ผํ๊ธฐ๋๋ฌธ์ ๋งค์ฐ ๋ฒ๊ฑฐ๋กญ๊ณ
๋ฐฑ์๋์์ ์์ ํ ๋๋ ๋ถํธ
๋ฐฉ๋ฒ2
ํด๋นํ์ด์ง์์๋ง ์บก์ ์ ํฌ์ง์ ์ก์์ ํ์ด์ค
'CSS๐ง > css table ํ๊ด๋ จ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
css table thead ๋ฏธ์ ์ฉ ํ๋ง๋ค๊ธฐ ์ด์ table-layout: auto; (0) | 2022.10.06 |
---|---|
css table ํ๋ง๋ค๊ธฐ ํด ์ด์ฉํ๊ธฐ tablesgenerator (0) | 2022.10.05 |
css table๋ง๋ค๊ธฐ (์นธ๋ณํฉ) (0) | 2022.10.05 |
html/css table ํ๋ง๋ค๊ธฐ (0) | 2022.09.30 |
๋๊ธ