problem in html Emails

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

problem in html Emails

Post by itsmani1 »

Hi,

I am using MS Outlook to view emails but it's not display html correct, also i am not able to use css in it. anyone can suggest anything? Everything is working fine on gmail, yahoo etc but outlook is not displaying emails correct.

thank you,
-dizyn
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: problem in html Emails

Post by aceconcepts »

You are able to use inline css.

What are you trying to display in the email?
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Re: problem in html Emails

Post by itsmani1 »

I am trying to display nested tables.

if i use one table and use "colspan" this also does not work.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: problem in html Emails

Post by aceconcepts »

What exactly is wrong?

It's rather difficult to determine the problem without knowing much else.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Re: problem in html Emails

Post by itsmani1 »

for example if i try :

Code: Select all

    <table width="100%" border="1" cellspacing="3" cellpadding="2">
        <tr>
            <td>Name</td>
            <td colspan="2">Abdul Mannan</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Name</td>
            <td>Abdul Mannan</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
</table>
It will not show the colspan column.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: problem in html Emails

Post by aceconcepts »

That's weird. Have you tried declaring some td widths to help outlook out a bit. Not really sure if this will do anything but I know Outlook is rather strict with content.

Which Outlook are you using?
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Re: problem in html Emails

Post by itsmani1 »

outlook 2007
Post Reply