Spacing in text only emails
I'm trying to creat a text email invoice for a shopping cart app and I'm having problems keeping the vertical spaceing in line. If a product has a long name for example it pushes the value column over.
HTML email is simple but keeping the spacing on text is proving tricky. The content of the email is supplied from the DB...
Any ideas?
Suzanne posted this at 21:57 — 4th September 2004.
She has: 5,507 posts
Joined: Feb 2000
Sorry, html or text emails?
If it's an html email, use a table for tabular data... If it's text, just use tabs and let the user copy and paste into a spreadsheet application?
openmind posted this at 21:59 — 4th September 2004.
He has: 945 posts
Joined: Aug 2001
The html is simple, as you say using tables its the text thats the issue. e.g
Product Price
------- -----
Product a £10.00
Product b but with a long title £20.00
The secind product is pushing the price from under the colum and thats what I'm having a problem with.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.