aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes BlockQuote in Mail reply Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "BlockQuote in Mail reply" Watch "BlockQuote in Mail reply" New topic
Author

BlockQuote in Mail reply

Shamu Somasundaram
Ranch Hand

Joined: Aug 25, 2004
Posts: 41
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
Did you try to close the tag where you do not want the line?

Eric
 
jQuery in Action, 2nd edition
 
subject: BlockQuote in Mail reply