HTML Print Page Fitting
Here's a good tutorial that walks through what I was talking about in my comment: http://webdesign.about.com/cs/css/a/aa042103a.htm
Format HTML through C#
This is what you need.
var input = "<div dir=\"ltr\"><div class=\"gmail_quote\"><strong><span style=\"font-family:"Arial","sans-serif"\">CA IQVIA EM Event Speaker info</span></strong></div></div>";
try
{
var formatted = System.Xml.Linq.XElement.Parse(input).ToString();
}
catch
{
// Your input is not a valid xml fragment.
}
Related Topics
Converting a Byte to a Binary String in C#
Linq-To-Sql: Recursively Get Children
Ef5 Code First - Changing a Column Type with Migrations
Directory.Getcurrentdirectory() Not Working on Linux
Sort Datagridview Columns in C#? (Windows Form)
How to Code a Progress Bar for Windows 7 to Also Update Itself on the Taskbar
Can You Use C++ Dlls in C# Code in a Uwp
How to Consume a Blazor Component as a Web Component Within a Regular Non-Blazor HTML Page
ASP.NET MVC 3: Defaultmodelbinder with Inheritance/Polymorphism
Regex:How to Get Words from a String (C#)
ASP.NET Core Disable Authentication in Development Environment