Bug #115772 --> remove borders and shading to the headers

because this is messing up printing of messages.
r=ssu
sr=sspitzer
This commit is contained in:
mscott%netscape.com 2002-01-24 03:04:06 +00:00
Родитель 54c8a0d329
Коммит 02df8cc322
3 изменённых файлов: 9 добавлений и 13 удалений

Просмотреть файл

@ -765,7 +765,7 @@ nsMimeBaseEmitter::WriteHTMLHeaders()
nsresult
nsMimeBaseEmitter::DumpSubjectFromDate()
{
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" name=\"header-part1\">");
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" class=\"header-part1\">");
// This is the envelope information
OutputGenericHeader(HEADER_SUBJECT);
@ -795,7 +795,7 @@ nsMimeBaseEmitter::DumpToCC()
// which looked weird.
if (toField || ccField || bccField || newsgroupField)
{
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" name=\"header-part2\">");
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" class=\"header-part2\">");
OutputGenericHeader(HEADER_TO);
OutputGenericHeader(HEADER_CC);
@ -816,7 +816,7 @@ nsMimeBaseEmitter::DumpRestOfHeaders()
if (mHeaderDisplayType != nsMimeHeaderDisplayTypes::AllHeaders)
return NS_OK;
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" name=\"header-part3\">");
mHTMLHeaders.Append("<table border=0 cellspacing=0 cellpadding=0 width=\"100%\" class=\"header-part3\">");
for (i=0; i<mHeaderArray->Count(); i++)
{

Просмотреть файл

@ -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;
}

Просмотреть файл

@ -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;
}