This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BlockQuote in Mail reply

 
Shamu Somasundaram
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my mail application, I am using blockquote for mails in html as follows:


header="<br><br><br><blockquote style=\"PADDING-LEFT: 5px; MARGIN-LEFT: 0px; BORDER-LEFT: #0000ff 2px solid\">
-----Original Message-----\n";
req.setAttribute("body", header +cleanHtml.getContent() + "</blockquote>");

A left border will appear in the original message. But if I want to introduce some text or new line in this original text,
and press enter, the left border should not be dispalyed for the new line.
You can try this as it is available in Gmail when u reply to a mail in html content
I know it is something with css, but can't get the idea. Can anyone help me on how to do this.


Thanks,
Shanmugavel.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try to close the tag where you do not want the line?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic