HTML help needed, line break after <div>?

Kyn

New member
How do I remove the line break after div tag in the following code?

<div class="image">
<a href="www.blahblahblah.com"><img alt="img 1" img src="link to image" border="0"> </a></div>

<div class="text">
text for image 1
</div>

What I was going for was an image with text directly beneath it, but I don't want the line break after.
The only way I know to do this is by replacing div with span, but that causes the picture and text to be separated.

I want to remove the line break, not add one. Sorry if that wasn't clear. :)
 
Back
Top