Categories: WordPress Posts

Markup: Image Alignment

Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.

The image above happens to be centered.

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.

As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

And now for a massively large image. It also has no alignment.

The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.

Images With Captions

And just when you thought we were done, we’re going to do them all over again with captions!

Look at 580×300 getting some caption love.

The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.

Itty-bitty caption.

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned. 

As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked!

admin

View Comments

  • Hi, this is a comment.
    To delete a comment, just log in and view the post\'s comments. There you will have the option to edit or delete them.

Share
Published by
admin

Recent Posts

Pertandingan Video Penceritaan Data & Poster Kreatif Peringkat Kebangsaan 2026

PERTANDINGAN VIDEO PENCERITAAN DATA & POSTER KREATIF KEBANGSAAN 2026 🎨✨ (National Data Storytelling Video &…

6 days ago

PERTANDINGAN MELAKAR REKA BENTUK BEDUK

Jom sertai Pertandingan Melakar Reka Bentuk Beduk! Ini peluang anda untuk menunjukkan bakat seni, budaya,…

6 days ago

PERTANDINGAN SENI KHAT

Tunjukkan bakat tulisan tangan dan keindahan seni khat anda dalam pertandingan ini! Hadiah wang tunai…

6 days ago

Pertandingan Video Kesedaran Masyarakat

Pertandingan Video Kesedaran Masyarakat bersempena NADI X Kesedaran Kempen Internet Selamat, dengan tajuk utama memfokuskan…

2 months ago

Ringkasan Pertandingan iKOM Sains 2026

Pertandingan iKOM Sains 2026 dengan tema "Sains, Kamera, Aksi!" adalah inisiatif anjuran Pusat Sains Negara…

2 months ago

PERTANDINGAN GREEN INNOVATION SCIENCE PROJECT

Setiap cabaran alam sekitar memerlukan idea baharu. Mungkin idea itu datang daripada anda. BASF PETRONAS…

2 months ago