Question:

This code doesnt work help :( ??

by  |  earlier

0 LIKES UnLike

ok this the code im usin to put a picture next to the text

this code:

<img src="IMG URL HERE" align="right" border="0" >TEXTHERE

all it commes out is the pic and the stuff on the bottom plz help !

 Tags:

   Report

4 ANSWERS


  1. Are you just putting the image like &lt;img src=&quot;myimage.jpg&quot; align=&quot;right&quot; border=&quot;0&quot; &gt; ?

    Because that wont work. You need to have the root directory. like this

    Mine  root directory is is images so:

    &lt;img src=&quot;images/myimage.jpg&quot;align=&quot;right&quot; border=&quot;0&quot; &gt;


  2. Instead of having everyone guess, put a link to your site with the problem so someone can look at the source code.

    Ron

  3. This is correct behavior, an image tag must be empty.

    try using a background image instead. (if you&#039;re doing what I think you are.)

  4. So you can&#039;t see the text you mean? Chances are that somewhere on the page, you&#039;ve forgotten a closing bracket (&gt;) on one of the HTML tags. If you forget one of those anywhere, it will cause problems, and not always in an obvious place. Especially if you&#039;re using tables... anyways, look over ALL the HTML tags carefully, make sure each one has a &lt; and a &gt; both! Also make sure all quotations are closed, forgetting a quotation mark can also cause problems.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.