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

Truebook replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Ok I just changed my name to truebook.co.uk 
please take a look at let me know what you think and…"
Friday
KAMALAVIATION TOURS updated their profile
Friday
Truebook replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Please can anyone help my site truebook.site is down for some reason 
trid to contact Ning and even…"
Apr 22
Truebook posted a discussion
Why is my site down ?
Apr 22
Truebook posted a discussion
Apr 20
Truebook replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Hi I am new here 
this is my site 
please give me some ideas 💡 
https://truebook.ning.com"
Apr 18
Eva liked ⚡JFarrow⌁'s discussion Ning Creators Sound Off: Share Your Network
Apr 18
Truebook replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
Apr 18
Truebook is now a member of Ning Creators Social Network
Apr 18
scott claxton updated their profile
Apr 9
Rhonda liked ⚡JFarrow⌁'s discussion Ning Creators Sound Off: Share Your Network
Mar 27
⚡JFarrow⌁ updated their profile photo
Mar 24
More…

Meanwhile, you can check our social media channels