# Columns in HTML emails?

**URL:** <https://www.ruby-forum.com/t/columns-in-html-emails/107080>\
**Category:** Rails\
**Created:** [June 17, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/columns-in-html-emails/107080 "2007-06-17T21:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miked](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@miked](https://www.ruby-forum.com/u/miked)\
**Post date:** [June 17, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/columns-in-html-emails/107080/1 "2007-06-17T21:35:50Z")

</div>

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’ %\>

| \<%= render(:partial =\> '../goalbuddies/gbdisplay', :locals =\> { :gb =\> @user, :sty =\> 'white', :act =\> '', :from =\> 'mail' } ) %\> | Hello!  
 

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!

 

View \<%= link\_to @user.name + "'s victory", "www.goalhub.com/my\_friend\_view/" + @user.id.to\_s %\>

 

Thanks, \<%= @user.name %\>

  |

Thanks!

Mike

---

<div class="post-metadata">

**Author:** ![miked](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@miked](https://www.ruby-forum.com/u/miked)\
**Post date:** [June 18, 2007, 9:44am UTC](https://www.ruby-forum.com/t/columns-in-html-emails/107080/2 "2007-06-18T09:44:09Z")

</div>

off the top of the head

- tag in the table breaks it

- the css in ‘standard’ breaks the table?
- no tags
- the email isn’t sent as html format?

s

Mike D. 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’ %\>
> 
> | \<%= render(:partial =\> '../goalbuddies/gbdisplay', :locals =\> { :gb =\> @user, :sty =\> 'white', :act =\> '', :from =\> 'mail' } ) %\> | Hello!  
>  
> 
> 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!
> 
>  
> 
> View \<%= link\_to @user.name + "'s victory", "www.goalhub.com/my\_friend\_view/" + @user.id.to\_s %\>
> 
>  
> 
> Thanks, \<%= @user.name %\>
> 
> |
> 
> Thanks!
> 
> Mike
