Akash
Akash

Reputation: 295

outlook 2007 mail span not displayed in same line

My code is:

    <span style="text-align:center; width:80px; display:inline-block;">
    <a href="#" target="_blank" style="text-decoration:none;">
   img here
    <span style="font-size: 13px; color: #301985; display:block; top:5px; position:relative;">content</span>
    </a>
    </span>
    <span style="text-align:center; width:80px; display:inline-block;">
    <a href="#" target="_blank" style="text-decoration:none;">
    img here
    <span style="font-size: 13px; color: #301985; display:block; top:5px; position:relative;">content</span>
    </a>
    </span>

Problem is:

It is working good in all mail. In outlook 2007 it displayed like this image.

enter image description here

I want content is displayed the below the image. But it is not working in outlook 2007.

I found this url https://www.campaignmonitor.com/css/

Display, float property are not working on outlook 2007. Any other solution to acheive my design?

Upvotes: 0

Views: 776

Answers (1)

Akash Negi
Akash Negi

Reputation: 425

use <div> in place of <span> I hope it will help...

Upvotes: 1

Related Questions