Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Width and centering · ⁨ความกว้างและการจัดกึ่งกลาง⁩

English

Width

  • By default, a block box is as wide as the page.
  • width: 300px; makes it a fixed width instead.
  • max-width: 600px; is gentler — at most this wide, but shrink on small screens.
ไทย

ความกว้าง

  • โดย default, กล่อง Block จะมีความ กว้างเท่าหน้าเว็บ
  • width: 300px; เปลี่ยนเป็นความกว้างคงที่แทน
  • max-width: 600px; อ่อนโยนกว่า — สูงสุดเท่านี้ แต่จะหดเมื่อหน้าจอเล็ก

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP