I’m using a img tag before a h3 tag, no break statements used. But when I run it in the browser it displays the 2 tags on separate lines. Is there a CSS technique that can fix this or maybe an even easier tag attribute that will make the two elements display on the same line?
Thanks in advance!
——————————- edit ———————————————-
The answers so far work well. But it’s not there quite yet. If you look at the screenshot you’ll see what I want (I should’ve specified in the first place, i know)…
If I use one of the methods above, you’ll see that the h3 tag is not floating in the middle of the img tag. I want the h3 tag to float right in the middle of the image..

Two options:
Use a
line-heightattribute forh3which equals to yourimg‘sheight.Use
padding-topandpadding-bottomfor to yourh3and play with it to get what you want.