Hi:
I''m including a simple table in my html email - but the columns
aren''t
working on delivery. Does anyone know why this might be the case or have
suggestions?
Here''s the email:
<%= stylesheet_link_tag ''standard'' %>
<table>
<tr>
<td align="right" valign="top" width="20%">
<%= render(:partial => ''../goalbuddies/gbdisplay'',
:locals => { :gb =>
@user, :sty => ''white'', :act => '''',
:from => ''mail'' } ) %>
</td>
<td align="left" valign="top" width="80%">
<span class="bodyTextBlk">
Hello!<br>
<p>
I did it! My goal, <%= @goal.title %>, was accomplished on <%=
@compdate
%>. Please take a look at my victory and feel free to post a message or
send a high-five my way!
</p>
<p>
View <%= link_to @user.name + "''s victory",
"www.goalhub.com/my_friend_view/" + @user.id.to_s %>
</p>
<p>
Thanks,
<%= @user.name %>
</p>
</td>
</tr>
</table>
Thanks!
Mike
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
off the top of the head * the <p> tag in the table breaks it * the css in ''standard'' breaks the table? * no <html> <body> tags * the email isn''t sent as html format? s Mike Dershowitz wrote:> Hi: > > I''m including a simple table in my html email - but the columns aren''t > working on delivery. Does anyone know why this might be the case or have > suggestions? > > Here''s the email: > > <%= stylesheet_link_tag ''standard'' %> > <table> > <tr> > <td align="right" valign="top" width="20%"> > <%= render(:partial => ''../goalbuddies/gbdisplay'', :locals => { :gb => > @user, :sty => ''white'', :act => '''', :from => ''mail'' } ) %> > </td> > <td align="left" valign="top" width="80%"> > <span class="bodyTextBlk"> > Hello!<br> > <p> > I did it! My goal, <%= @goal.title %>, was accomplished on <%= @compdate > %>. Please take a look at my victory and feel free to post a message or > send a high-five my way! > </p> > <p> > View <%= link_to @user.name + "''s victory", > "www.goalhub.com/my_friend_view/" + @user.id.to_s %> > </p> > <p> > Thanks, > <%= @user.name %> > </p> > </td> > </tr> > </table> > > > Thanks! > > Mike-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---