We help IT Professionals succeed at work.

Can't align image with text

Melody Scott
Melody Scott asked
on
Hello.. working on www.magickitchen.com/responsive/.

I can't get this image to align properly with the text. I've tried float-left, text-align left, etc. Maybe it's to do with it being inside a blockquote, but I can't figure it out.

screenshot
Thanks in advance.
Comment
Watch Question

Most Valuable Expert 2018
Distinguished Expert 2019
Commented:
Your image is wrapped in an <a> tag - that's what you need to float left. You will probably also want to give it a right-margin.

<a target="_blank" href="http://www.bbb.org/sanjose/business-reviews/food-products/magickitchencom-in-los-altos-ca-1000001150#bbbseal" style="float:left; margin-right: 10px;">
<img width="149" height="56" alt="Better Business Bureau Accredited Business" src="images/bbb-badge-horz.png" style="float:left">
</a>

Open in new window

Author

Commented:
Thanks! I thought I had tried that.