ananke/exampleSite/content/unit-tests/2013-01-10-markup-image-alignment.md
2017-04-14 22:32:55 -04:00

6.4 KiB
Raw Blame History

author categories date original_post_id tags title parent url
adamchlan
Markup
Uncategorized
2013-01-10T03:15:40Z
903
alignment
captions
content
css
image
markup
Markup: Image Alignment Variables /2013/01/10/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 lets get started.

On the topic of alignment, it should be noted that users can choose from the options of NoneLeftRight, and Center. In addition, they also get the options of ThumbnailMediumLarge & Fullsize.

Image Alignment 580x300

The image above happens to be centered.

**Image Alignment 150x150**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, well see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do its thang. Mission accomplished!

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

Image Alignment 1200x400

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.

Image Alignment 300x200

And now were 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 dont care what the left aligned image says, you look great. Dont 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.

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

Image Alignment 580x300

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.

Image Alignment 150x150

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, well see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do its thang. Mission accomplished!

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

Image Alignment 1200x400

Massive image comment for your eyeballs.

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.

Image Alignment 300x200

Feels good to be right all the time.

And now were 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 dont care what the left aligned image says, you look great. Dont 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.

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