You are here:

HTML/text next to image


If I wont to Have my text not Wrao but sit right next to a photo am I right I do this

<img src="rainbow.gif" height="50" align="left">Type text here.</Font>

Or what should I do?

Hi Bob,

The best way to check if that'd work is try it in a browser.  It'll work as long as the block of text is smaller than the image's height.

If you want a block of text that is longer than the image is high, use two divs (or table cells) to create two columns - photo in one, and text in the other.


All Answers

Answers by Expert:

Ask Experts


Dan Stephenson


I am a professional Web Designer & Developer. I work with HTML, XHTML and CSS every day, and would be glad to help with your problems, and answer your questions.


Experience in the area I have been a web designer/developer since 1997. I started developing websites with HTML 3.2 and using tables for layout. In 2006 I received my degree in Computational Media, and now work full time as a Webmaster and Interactive Media Author, as well as teaching continuing education courses on HTML, CSS and ActionScripting at my local college. Currently I design with XHTML and CSS - no tables and much cleaner and more accessible code and allows the designer more freedom and flexibility than tables.

New Media Production & Design Degree - SAIT Polytechnic

©2016 All rights reserved.