css

[CSS] table ๋„“์ด ๊ณ ์ •์‹œํ‚ค๊ธฐ

natrue 2021. 6. 10. 15:40
728x90

table-layout:fixed;

table-layout ์†์„ฑ๊ฐ’์„ fixed๋กœ ์ง€์ •ํ•˜๋ฉด ์…€์•ˆ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ธธ์–ด์„œ ์ง€์ •ํ•œ ๋„ˆ๋น„ ์ด์ƒ์œผ๋กœ ์…€์„ ์ดˆ๊ณผํ•ด๋ฒ„๋ฆฌ๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•œ๋‹ค.