Q:

I Would Like To Use Bootstrap 2 in my Action Mailer View

I currently use Bootstrap 2 in my Rails 4.0.13 application. I am using a table to simulate two columns with the width parameter. 
<table style="width: 800px;">
  <tr>
    <td style="width: 33%; padding: 10px;" valign="top" align="justify"><%= @mass_email_parm["email"].html_email_left.html_safe %></td>
    <td style="width: 67%; padding: 10px;" valign="top" align="justify"><%= @mass_email_parm["email"].html_email_text.html_safe %></td>
  </tr>
</table>

I have this in my  tag in my mailer view.
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />

I would like to rewrite my logic using span4 and span8 or something like that if possible. I have tried several times to see if there is a way to use Bootstrap in the mailer but have not found anything.
I thought I might try something like adding the link statement below. However I wonder about the meta statement I have. I have not worked with either of these much regarding mailer views.
<link href="assets/bootstrap_and_overrides.css.less" rel="stylesheet" media="screen">

A:

Unfortunately, many (probably most) email providers strip out external stylesheet links.  Gmail and others even strip embedded CSS, meaning your only real option is inline styling.  My advice is to either inline style, or use a tool that will convert CSS to inline styles.  See this excellent article for more details.

