์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Absolute
- AGI
- ai
- AI agents
- AI engineer
- AI researcher
- ajax
- algorithm
- Algorithms
- aliases
- Array ๊ฐ์ฒด
- ASI
- bayes' theorem
- Bit
- Blur
- BOM
- bootstrap
- canva
- challenges
- ChatGPT
- Today
- In Total
A Joyful AI Research Journey๐ณ๐
CSS: ํ๋ฆฐํธ ํ ๋ ์ํ๋ ์์ ์ต์๋จ, ์ตํ๋จ์ ๋๊ธฐ position:fixed, bottom:0 or top:0 ์ฌ์ฉํ๊ธฐ ๋ณธ๋ฌธ
CSS: ํ๋ฆฐํธ ํ ๋ ์ํ๋ ์์ ์ต์๋จ, ์ตํ๋จ์ ๋๊ธฐ position:fixed, bottom:0 or top:0 ์ฌ์ฉํ๊ธฐ
yjyuwisely 2023. 4. 25. 22:15230425
์๋ ์บก์ณ ์ด๋ฏธ์ง๋ ์ค๋ ๋ด๊ฐ ๋ง๋ ํํ๋ก์ ํธ์ ์ฆ๋ช
์ ์์ธ ๋ด์ญ ๋ค์ด๋ก๋ ํ์ด์ง์ด๋ค.
๋ค์ด๋ก๋ ๋ฒํผ์ ๋๋ฅด๋ฉด pdf ์ ์ฅ์ด๋ ์ธ์์ฐฝ์ด ๋จ๋๋ฐ
๋ ์ง์ ๋ณ์์ฅ์ ์ตํ๋จ์ ์์นํ๊ณ
์ ๋ชฉ๊ณผ ํ
์ด๋ธ, ํ์ธํจ์ด๋ผ๋ ๋ฌธ๊ตฌ๋ ์ต์๋จ์ ์์นํ๋ ๊ฑธ ์ํ๋ค.

๋ ์ง์ ๋ณ์์ฅ ์ด๋ฆ์ ํด๋์ค๋ช ์ด dateCheif์ด๊ณ ,
<p class="dateCheif text-center"> 20AA๋
B์ C์ผ<br> <b class="fs-5">์ธ์ฐ ๊ทธ๋ฆฐ ๋ณ์ ๋ณ์์ฅ</b><br> </p>
์ ๋ชฉ๊ณผ ํ ์ด๋ธ, ํ์ธํจ์ด๋ผ๋ ๋ฌธ๊ตฌ๋ ํด๋์ค๋ช ์ด container์ด๋ค.
<div class="container card shadow border-0 rounded-4 p-3"> <h1 class="text-center fs-2 m-2 pb-3">์ง๋ฃํ์ธ์</h1> <table class="table text-center mb-5"> <tr> <td class="fw-bold" style="background-color: #f2f2f2">ํ์ ์ด๋ฆ</td> <td>์ด๋ฆ</td> <td class="fw-bold" style="background-color: #f2f2f2">์ฃผ๋ฏผ๋ฑ๋ก๋ฒํธ</td> <td>000000-0000000</td> </tr> <tr> <td class="fw-bold" style="background-color: #f2f2f2">์๋ณ๋ช
์ฝ๋</td> <td>์ฝ๋ ๋ฒํธ</td> <td class="fw-bold" style="background-color: #f2f2f2">๋ณ๋ช
</td> <td>๋ณ๋ช
์ด๋ฆ</td> </tr> </table> <p style="margin-bottom: 9rem;">์์ ๊ฐ์ด ์ง๋ฃ๋ฐ์์์ ํ์ธํจ.</p>
ํด๊ฒฐ์ฑ ์ ์๋ css ์ฝ๋๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. postion:fixed์ ๊ฐ๊ฐ bottom:0์ด๋ top:0์ ์ด๋ค.
@media print { .dateCheif { position: fixed; bottom: 0; left: 0; right: 0; } } @media print { .container { position: fixed; top: 0; left: 0; right: 0; } }
๊ฒฐ๊ณผ) ์ ๊ธฐํ๊ฒ๋ ๋ ์ง์ ๋ณ์์ฅ์ ์ตํ๋จ, ๋๋จธ์ง ๋ฌธ๊ตฌ๋ ์ต์๋จ์ ์์นํ๊ฒ ๋๋ค!
