Solved

C# email in HTTML mobile

Posted on 2013-05-29
1
203 Views
Last Modified: 2013-06-02
Hi,

I have the below code which sends an email fine and display fine on a desktop but when i view the email on my mobile it doesnt display as required what can i do

body += "<table width=\"600\" align=\"center\"><tr><td align=\"left\"><span style=\"font-size:16px\"><span style=\"font-family:Arial\">Hello,</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\">Please find below your Weekly Stats .</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <span style=\"strong\"> Total Approved: <span style=\"color:Green\"> <span style=\"font-size:16px\">" + sApproved + "</span></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"><span style=\"strong\"> Total Not Approved: <span style=\"color:#000080\"> <span style=\"font-size:16px\">" + sNotApproved + "</span></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <span style=\"strong\"> Total Bad Reviews: <span style=\"color:Red\"> <span style=\"font-size:16px\">" + sDoes_Not_Want_To_Approve + "</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <a href=\"http:">Click here to log on and Approve Reviews </a></span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:10px\"><span style=\"font-family:Arial\"> The information herein is proprietary. </span></td></tr></table>";

please help

Thanks

R8VI
0
Comment
Question by:R8VI
1 Comment
 
LVL 9

Accepted Solution

by:
sarabhai earned 500 total points
ID: 39204225
make the width 100% , so accordingly it will adjust as i am guessing.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question