Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Tip: How to display images inline?

Not all NCs are " TECH SAVVY" but we must believe that everybody wants to learn or try something new in life.
I assume that everyone knows what images are, as we all have seen images on web pages.

Know some important points:

* Inline: having images arranged in a line.
* src: The src attribute is used to specify the URL of the image (i.e. the address or filename the browser uses to retrieve the image file), e.g. <img src="http://planet-earth.bogus.us/icons/secret.pictures.gif"> <img src="grandchild.gif">
* alt: alt is used to provide an text alternative to the image for readers whose browsers do not support graphics.
* href: The href attribute specifies the link's destination: e.g. <a href="www.google.com">Google</a>

Steps:

1. Copy and paste the following "CSS Code" into Custom CSS Box. Make sure "div.desc" width size is equal to image width size. I have used width=183px for both.
2.Copy and paste the following "HTML code" into notepad.
3. Now go to HTML/Text Box and click on image icon> Chose file> select Your Image> Copy image link from Link field> Go to "HTML Code" Remove "YOUR_IMAGE_LINK.JPG" and replace with your image link just now you have copied.
4. Copy the html code from notepad and paste it into Html/Text Box> Update> and Save.
You are done!

CSS Code :

/***DISPLAY PHOTO OR IMAGES INLINE***/
div.imgs{
height:auto;
width:auto;
float:left;
text-align:center;
}
div.imgs img {
display: inline;
padding: 5px;
}
div.desc {
text-align: center;
font-weight: normal;
width: 183px;
margin: 3px;
padding: 5px;
}
/***DISPLAY PHOTO OR IMAGES INLINE***/

 

HTML Code:

<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="First Image" width="183" height="122">
</a>
<div class="descp">First Image</div>
</div>
<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="Second Image" width="183" height="122">
</a>
<div class="descp">Second Image</div>
</div>
<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="Third Image" width="183" height="122">
</a>
<div class="descp">Third Image</div>
</div>

Want to go beyond this tip? If you are looking for someone to re-design your ning site, or any kind of ning help, feel free to contact me via my email id bernardmax2@gmail.com

Live Preview: Here
Preview:

web page counter

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Thank you so much for this useful tip. Happy Diwali!

    • NC for Hire

      You are welcome Challa, and same to you...

  • Nice tip, Bernard! 

  • This reply was deleted.
    • NC for Hire

      Hi Riccardo, not sure about your issues because the codes you have provided is related to column set up. But this tip is all about "how to display image inline" ?

      Hope you understand.

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Alina Langley replied to Suzie Nielsen's discussion
Ning 2.0 For Sale
"Do you atill have a NING 2.0 site? I am looking for one, please DM me :)"
Apr 12
Alina Langley updated their profile photo
Apr 12
Alina Langley updated their profile
Apr 12
LEO Mobile App Builder updated their profile
Mar 26
Aase Lillian replied to Aase Lillian's discussion
Community - activity page
"Ok, thank you. Please send me details as I have no idea on how to do it. "
Mar 19
Aase Lillian and ⚡JFarrow⌁ are now friends
NC for Hire
Mar 19
⚡JFarrow⌁ updated their profile photo
Mar 18
⚡JFarrow⌁ replied to Aase Lillian's discussion
Community - activity page
"Yes you can add emojis to your community pretty much anywhere you like.
If you need some help…"
Mar 18
Aase Lillian updated their profile
Mar 18
Aase Lillian posted a discussion
Hi all. Is it possible to add emojis to the community? I also wish the activity page to include…
Mar 18
Donna MacShoe updated their profile photo
Mar 6
Adul Rodri is now friends with ANGE.L LUAR and Margarida Maria Madruga
Feb 14
More…

Meanwhile, you can check our social media channels