หากต้องการจัดแนวรูปภาพในแนวตั้งโดยใช้ CSS ให้ใช้คุณสมบัติการจัดแนวแนวตั้ง คุณสามารถลองเรียกใช้รหัสต่อไปนี้เพื่อจัดแนวภาพในแนวตั้ง -
ตัวอย่าง
<!DOCTYPE html>
<html>
<head>
<style>
img {
vertical-align: text-bottom;
}
</style>
</head>
<body>
<p>This is <img src = "https://www.tutorialspoint.com/videotutorials/assets/videos/courses/155/images/course_155_image.png" alt000 = "Video Tutorial" width = "200" height = "150"> demo image.</p>
</body>
</html>