treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Quick Question

  • Hi,

    I'm trying to get my image to line up with the text on this page: http://tinyurl.com/499dch

    However the top of the image does not line up with the top of the text, if you see what I mean.

    Does anyone know how I can get the two to line up? I'm not using any css to display the image. Instead here is the html:

    <a href=\"file:///somelink.htm\">

    <img src=\"images/content/tpecminor.gif\" style=\"border: 0pt solid ; padding: 5px; float: left\" alt=\"Pectoralis Minor\" align=\"left\" height=\"70\" width=\"70\" /></a>


    If I need to use css then that will be fine too.

    Thanks.
  • You now had the image in a seperate paragraph and your text in a seperate paragraph. Put them both in the same paragraph and you're done :)
  • Thank you, that worked perfectly :)