By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
सुरभि सलोनीसुरभि सलोनीसुरभि सलोनी
  • National
  • State
  • Social
  • Entertainment
  • Mumbai / Maharashtra
  • Video
  • E-Magazine
Reading: Markup: Image Alignment
Share
Font ResizerAa
सुरभि सलोनीसुरभि सलोनी
Font ResizerAa
  • National
  • State
  • Social
  • Entertainment
  • Mumbai / Maharashtra
  • Video
  • E-Magazine
Search
  • Business
  • entertainment
Have an existing account? Sign In
Follow US
  • Advertise
© 2022 Surabhi Sloni All Rights Reserved.
national

Markup: Image Alignment

Last updated: September 11, 2018 1:47 am
Surabhi Saloni
Share
4 Min Read
SHARE

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.

placeholder-02

The image above happens to be centered.

placeholder-03The 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.

placeholder-04

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.

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 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 580x300 getting some caption love.
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.
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!

TAGGED:alignmentcaptionscontentcssimagemarkup

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.

By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Whatsapp Whatsapp Telegram Email Copy Link Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article HIV पीड़ित से भेदभाव करने पर होगी दो साल की सजा, लगेगा 1 लाख का जुर्माना
Next Article राजनेता बेमतलब की याचिकाएं दाखिल करने के हो रहे आदी – कोर्ट

आज का AQI

Live Cricket Scores

Latest News

यूपी के उरई में डॉ. अम्बेडकर माह का समापन, जिलेभर में निकाली यात्रा, मुख्यमंत्री को भेजा ज्ञापन
state
May 1, 2026
‘एक दिन’ फिल्म की कहानी से गहरा है उनका अपना कनेक्शनः आमिर खान
entertainment
May 1, 2026
रायन इंटरनेशनल स्कूल, चेंबूर ने फ़िर से रचे शैक्षणिक उत्कृष्टता के नये प्रतिमान
Mumbai / Maharshtra
May 1, 2026
धाकड़ भवन के प्रांगण में तेरापंथ मेरापंथ कार्यशाला का सुंदर आयोजन
social
May 1, 2026

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

Follow US
© 2026 Surabhi Saloni All Rights Reserved. Disgen by AjayGupta
  • About Us
  • Privacy
  • Disclaimer
  • Terms and Conditions
  • Contact
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?