• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4375
  • Last Modified:

<div style="float:right; in Microsoft outlook 2007

Hi,

I have Microsoft outlook 2007

From my Java program I am sending newsleter to the subscribed users

When I preview the newsletter into the Microsoft outlook 2007

I don't see my newletter to be fine

My div tag with style="float:right doesn't work

<div style="float:right; margin-left:30px; margin-top:30px; background-color:#FFF">

Is there any tag which can help me

As whatever is in the above div tag is comming at the bottom of the text, where that should be on the right

Also, I was searching I found

Float/clear goes hand in hand

http://www.email-standards.org/samples/#float-clear

What does it means?

Please help me out

Many Thanks
0
tia_kamakshi
Asked:
tia_kamakshi
2 Solutions
 
level9wizardCommented:
Strangely, e-mail standards are very far from where the web is at. It kills me, but don't use CSS in e-mail designs.

Use HTML 4.0 only code. Old programs like Frontpage 2003 actually do a nice job of creating really ugly deprecated HTML that works perfect for email.

So it would be:
   align="right"
instead of
   float: right;
0
 
David LeeCommented:
Hi, tia_kamakshi.

Outlook 2007 doesn't support float.  See this Microsoft page that describes the changes to HTML and CSS rendering and support for details.
http://msdn.microsoft.com/en-us/library/aa338201.aspx
0
 
tia_kamakshiAuthor Commented:
Its great.
Many Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now