HTML Code Help Aligning Pic in Text Widget

  • Author
    Posts
  • #646167

    shimworld
    Member

    I need help adding a code to to move the image a little to the right and I haven’t touched these in a very long time, don’t remember the correct way to include what I think is margin-left: 10 to my text widget. Appreciate some help.

    <a target="_new" href="http://www.klout.com/janshim"> <img alt="Facebook" src="http://shimworld.files.wordpress.com/2011/06/klout-specialist.jpg"></a>

    The blog I need help with is shimworld.wordpress.com.

    #646413

    This should do it. Just edit the 20px as required to get the images where you want them.

    <a target="_new" href="http://www.klout.com/janshim"> <img style="margin-left:20px;" alt="Facebook" src="http://shimworld.files.wordpress.com/2011/06/klout-specialist.jpg"></a>

    #646416

    shimworld
    Member

    Yes, perfect! Thank you @tsp.

    #646419

    You are welcome.

The topic ‘HTML Code Help Aligning Pic in Text Widget’ is closed to new replies.