From a37be1e44ffd6f995fab68f359fdb7c856d63854 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Thu, 24 Jan 2002 03:04:06 +0000 Subject: [PATCH] Bug #115772 --> remove borders and shading to the headers because this is messing up printing of messages. r=ssu sr=sspitzer --- mailnews/mime/emitters/src/nsMimeBaseEmitter.cpp | 6 +++--- themes/classic/messenger/messageBody.css | 8 +++----- themes/modern/messenger/messageBody.css | 8 +++----- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/mailnews/mime/emitters/src/nsMimeBaseEmitter.cpp b/mailnews/mime/emitters/src/nsMimeBaseEmitter.cpp index 5e2e0d259460..cc14113b2546 100644 --- a/mailnews/mime/emitters/src/nsMimeBaseEmitter.cpp +++ b/mailnews/mime/emitters/src/nsMimeBaseEmitter.cpp @@ -765,7 +765,7 @@ nsMimeBaseEmitter::WriteHTMLHeaders() nsresult nsMimeBaseEmitter::DumpSubjectFromDate() { - mHTMLHeaders.Append(""); + mHTMLHeaders.Append("
"); // This is the envelope information OutputGenericHeader(HEADER_SUBJECT); @@ -795,7 +795,7 @@ nsMimeBaseEmitter::DumpToCC() // which looked weird. if (toField || ccField || bccField || newsgroupField) { - mHTMLHeaders.Append("
"); + mHTMLHeaders.Append("
"); OutputGenericHeader(HEADER_TO); OutputGenericHeader(HEADER_CC); @@ -816,7 +816,7 @@ nsMimeBaseEmitter::DumpRestOfHeaders() if (mHeaderDisplayType != nsMimeHeaderDisplayTypes::AllHeaders) return NS_OK; - mHTMLHeaders.Append("
"); + mHTMLHeaders.Append("
"); for (i=0; iCount(); i++) { diff --git a/themes/classic/messenger/messageBody.css b/themes/classic/messenger/messageBody.css index aa797d92c318..5dc17b3ae394 100644 --- a/themes/classic/messenger/messageBody.css +++ b/themes/classic/messenger/messageBody.css @@ -69,14 +69,12 @@ headerdisplayname { white-space: pre; } -table[name="header-part1"] { - border-left: 4px solid #EFEFEF; +.header-part1 { background-color: #EFEFEF; } -table[name="header-part2"], -table[name="header-part3"] { - border: 4px solid #DEDEDE; +.header-part2, +.header-part3 { background-color: #DEDEDE; } diff --git a/themes/modern/messenger/messageBody.css b/themes/modern/messenger/messageBody.css index aa797d92c318..5dc17b3ae394 100644 --- a/themes/modern/messenger/messageBody.css +++ b/themes/modern/messenger/messageBody.css @@ -69,14 +69,12 @@ headerdisplayname { white-space: pre; } -table[name="header-part1"] { - border-left: 4px solid #EFEFEF; +.header-part1 { background-color: #EFEFEF; } -table[name="header-part2"], -table[name="header-part3"] { - border: 4px solid #DEDEDE; +.header-part2, +.header-part3 { background-color: #DEDEDE; }