Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BlockQuote in Mail reply
 
Similar Threads
very very simple problem.
Is there something better then event.pageX/Y?
How to Convert an HTML PARAM into a Java Double
Dropdown list
How to create a slide menu in all browsers