Click to go to USFreeAds' website
About
This website is all about strategies to help you grow your niche store empire. I have many Build A Niche Store sites and use the strategies that I share here.
Newsletter
Subscribe to my posts and get all of the latest tips and strategies sent directly to your email!
Delivered by FeedBurner
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to my RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!

Mar
31

How to Wrap Text Around an Image

RochelleHow To...

Someone asked me how to get text to wrap around images so I decided it would make a good post. What this person wants to do is the following:

This is a picture that I included just have a picture here. I’m writing now just to take up space so you can see what text looks like that wraps around an image. In this case the image is aligned to the left of the screen and the text is going around it to the right. So now you can see what wrapped text looks like. I am still rambling just to get a bit more text into this paragraph. That is the end of this rambling text.

You can do the above text wrapping by adding some code to your image. The instructions below can be used in your niche stores or on any site you may have. In other words, these instructions are not specific to Build A Niche Store (BANS).

 

My instructions to wrap text around an image:

Step One
  Add your image to where ever you want the image to be visible.
   
  If you want to add an image to a page on your BANS site then navigate to that page and click the < > symbols in the Page Content section so you can add HTML to the page (this is applicable to BANS v2 and higher).
   
  Note: Your HTML code will look something like:
 
<img src="http://www.URLWhereImageIsLocated.com/Image.jpg">
  Please be aware that there are many variations on this so your code may have additional information that I didn’t include here. Regardless of any additional code that may be added it will always have the above code.
Step Two
  Add the following to your code to wrap the text:
 
  • Image is aligned to the left and the text wraps on the right of the image: add align="left" before the closing tag >
  • Image is aligned to the right and the text wraps on the left of the image: add align="right" before the closing tag >
   
  Note: For images aligned to the left your HTML code will look something like:
 
<img src="http://www.URLWhereImageIsLocated.com/Image.jpg" align="left">
  For images aligned to the right your HTML code will look something like:
 
<img src="http://www.URLWhereImageIsLocated.com/Image.jpg" align="right">
.
  That’s all there is to it, but there is more than can be done. The above example will have the text practically bumping into the image. If you prefer to add a little space between the image and text then add the following code before the align tag:
 
hspace="10"
   
  Note: For images aligned to the left your HTML code will look something like:
 
<img src="http://www.URLWhereImageIsLocated.com/Image.jpg" hspace="10" align="left">
  For images aligned to the right your HTML code will look something like:
 
<img src="http://www.URLWhereImageIsLocated.com/Image.jpg" hspace="10" align="right">
   
  You can change the value from 10 to whatever you prefer. Play around with different numbers until you are happy with the results.
 

Rochelle

Related Posts:

  • How to Add Video to Your Site
  • How to Add a Disclaimer to Your Site
  • How to Correct the Size of Auction Images on your Site
  • How to restore your database from cPanel
  • How to Add Permalinks (or Link-Backs or Trackbacks) to your Site
  • How to Add External Links Alphabetically to Your Site’s Sidebar
  • How to add a ‘Safety on eBay’ page to Your Site
  • How to Add a Single RSS Content Page to Your Site
  • How to Change the Font Color for Content Areas on Your Site
  • How to Add StatCounter Code to Your Site
  • RSS feed | Trackback URI

    3 Comments »

    Comment by Mark Hansen
    2008-03-31 11:54:19

    Good Post Rochelle!!

    Just to add to it a bit… if you include your height and width attributes, the page will also load quicker as the layout and size of the image will be in place onload.

    Directly inline with what you posted, you just add:

    height=109 width=502>

    Before your end tag “>”

    Mark

     
    Comment by Suzanne Subscribed to comments via email
    2008-06-15 20:57:12

    Rochelle ~ This is a very helpful post and really explains it perfectly.

    Mark ~ I’ve always wondered why sometimes the height and width are added in there and sometimes not … that is good to know ;)

    *SmiLes* Suzanne

     
    Comment by Chuck Anthony Subscribed to comments via email
    2008-07-15 19:05:59

    Thanks R & M… I used hspace=”10″ in my example. I appreciate the info here!

    Chuck Anthonys last blog post..Creating BANS Content Pages To Promote Related ClickBank Products

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Trackback responses to this post