ตำแหน่ง:คงที่ คุณสมบัติกำหนดตำแหน่งขององค์ประกอบคงที่ซึ่งเป็นค่าเริ่มต้น
ตัวอย่าง
คุณสมบัติด้านบน ด้านล่าง ด้านซ้าย และด้านขวาไม่มีผลกับองค์ประกอบที่อยู่ในตำแหน่งคงที่ คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อใช้ CSS ตำแหน่ง:static; ทรัพย์สิน
<!DOCTYPE html>
<html>
<head>
<style>
div.static {
position: static;
border: 3px solid blue;
}
</style>
</head>
<body>
<h1>Positioning Element</h1>
<div class="static">
div element with position: static;
</div>
</body>
</html> ผลลัพธ์
