Text\Image Alignment

liunx

Guest
I'm a complete HTML newbie, and I need some help. All I want is a picture on the left with several lines of text aligned to the right of it. I cannot for the life of me get more than one line of text to align with the image. I read about using a <BR CLEAR="all"> command, but that doesn't seem to work.<br />
<br />
Any help would be greatly appreciated.<!--content-->Use the 'align' attribute in the img tag plus a little hspace and vspace to keep the text away from the edges of the image:<br />
<img src... align="left" hspace=15 vspace=5><br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/special/img.html">http://www.htmlhelp.com/reference/html4 ... l/img.html</a><!-- m --><!--content-->Originally posted by Beauchamp <br />
<img src... align="left" hspace=15 vspace=5> <br />
Better way as suggested by Dave is<br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"image.gif" alt="Image Description" style="float: left; margin: 15px 5px;"><br />
<br />
Note:<br />
"margin: #px;" implies all margins are #px<br />
"margin: #px $px;" implies top, bottom are #px; left, right margins are $px<br />
"margin: #px $px *px &px" implies top, right, bottom, left margins respectively.<!--content-->
 
Back
Top