</style>
Har bir ekrandagi obyektni left va top orqali “uning yuqori chap burchagi qayerda bo‘ladi” deb tushunish mumkin.
.box position: absolute; left: 50px; /* chap chetidan 50px / top: 20px; / yuqori chetidan 20px */ width: 100px; height: 100px; background: blue;
</style>
Har bir ekrandagi obyektni left va top orqali “uning yuqori chap burchagi qayerda bo‘ladi” deb tushunish mumkin. obyektlarning left va top xossalari
.box position: absolute; left: 50px; /* chap chetidan 50px / top: 20px; / yuqori chetidan 20px */ width: 100px; height: 100px; background: blue; </style> Har bir ekrandagi obyektni left va top