Markup: Image Alignment2 min read

Welcome to image align­ment! The best way to demon­strate the ebb and flow of the var­ious image posi­tioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.

placeholder-02

The image above hap­pens to be cen­tered.

placeholder-03The rest of this para­graph 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 sen­tence here, we’ll see that the text moves from the right of the image down below the image in seam­less tran­si­tion. Again, let­ting the do it’s thang. Mission accom­plished!

And now for a mas­sively large image. It also has no align­ment.

placeholder-04

The image above, though 1200px wide, should not over­flow the con­tent area. It should remain con­tained with no vis­ible dis­rup­tion to the flow of con­tent.

placeholder-05And 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 dif­fer­ently.

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 every­thing should be sit­ting 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 cap­tions!

Look at 580x300 getting some caption love.
Look at 580×300 get­ting some cap­tion love.

The image above hap­pens to be cen­tered. The cap­tion also has a link in it, just to see if it does any­thing funky.

Itty-bitty caption.
Itty-bitty cap­tion.

The rest of this para­graph 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 sen­tence here, we’ll see that the text moves from the right of the image down below the image in seam­less tran­si­tion. Again, let­ting the do it’s thang. Mission accom­plished!

And that’s a wrap, yo! You sur­vived the tumul­tuous waters of align­ment. Image align­ment achieve­ment unlocked!

Stalk us

1 Comment

  1. Hi, this is a com­ment.
    To delete a com­ment, just log in and view the post\‘s com­ments. There you will have the option to edit or delete them.

Talk to us... what are you thinking?