You are here:

HTML/text next to image

Advertisement


Question
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?

Answer
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.

HTML

All Answers


Answers by Expert:


Ask Experts

Volunteer


Dan Stephenson

Expertise

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


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.

Education/Credentials
New Media Production & Design Degree - SAIT Polytechnic

©2016 About.com. All rights reserved.