Bugzilla – Attachment 45898 Details for
Bug 36447
FORMATTING HTML formatting problems with spacing and font size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
saved HTML from the example source document
bgbug.html (text/html), 3.81 KB, created by
Dave Yost
on 2011-04-20 18:05:11 UTC
(
hide
)
Description:
saved HTML from the example source document
Filename:
MIME Type:
Creator:
Dave Yost
Created:
2011-04-20 18:05:11 UTC
Size:
3.81 KB
patch
obsolete
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ><HTML> ><HEAD> > <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> > <TITLE></TITLE> > <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.3 (Unix)"> > <META NAME="AUTHOR" CONTENT="Ivan Godard"> > <META NAME="CREATED" CONTENT="20110210;21140000"> > <META NAME="CHANGEDBY" CONTENT="Dave Yost"> > <META NAME="CHANGED" CONTENT="20110401;16415100"> > <STYLE TYPE="text/css"> > <!-- > @page { margin: 0.79in } > P { margin-bottom: 0.08in; background: transparent; direction: ltr; color: #000000; text-align: left; widows: 2; orphans: 2 } > P.western { font-family: "Times New Roman", serif; font-size: 11pt; so-language: en-US } > P.cjk { font-family: "Lucida Sans Unicode", "Times New Roman"; font-size: 12pt; so-language: zh-CN } > P.ctl { font-family: "Tahoma"; font-size: 12pt; so-language: en-US } > H2 { margin-bottom: 0.08in; background: transparent; direction: ltr; color: #000000; text-align: left; widows: 0; orphans: 0; page-break-before: auto; page-break-after: auto } > H2.western { font-family: "Arial", sans-serif; font-size: 14pt; so-language: en-US; font-style: italic } > H2.cjk { font-family: "Lucida Sans Unicode", "Times New Roman"; font-size: 14pt; so-language: zh-CN; font-style: italic } > H2.ctl { font-family: "Tahoma"; font-size: 14pt; so-language: en-US; font-style: italic } > A.western:visited { so-language: en-US } > A.cjk:visited { so-language: zh-CN } > A.ctl:visited { so-language: hi-IN } > --> > </STYLE> ></HEAD> ><BODY LANG="en-US" TEXT="#000000" DIR="LTR"> ><P ALIGN=CENTER STYLE="margin-top: 0.17in; widows: 0; orphans: 0; page-break-after: avoid"> ><FONT FACE="Arial, sans-serif"><FONT SIZE=5><B>Title</B></FONT></FONT></P> ><P ALIGN=CENTER STYLE="margin-top: 0.17in; widows: 0; orphans: 0; page-break-after: avoid"> ><BR><BR> ></P> ><H2 CLASS="western"><A NAME="__RefHeading__72_1514637501"></A><A NAME="__RefHeading__27_1514637501"></A> >1.1Blah</H2> ><P CLASS="western" STYLE="widows: 0; orphans: 0"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Blah >blah</FONT></P> ><P STYLE="margin-top: 0.06in; margin-bottom: 0.04in; widows: 0; orphans: 0; page-break-after: avoid"> ><FONT SIZE=3><I>Listing 1</I></FONT></P> ><TABLE WIDTH=96% BORDER=1 BORDERCOLOR="#4c4c4c" CELLPADDING=13 CELLSPACING=0 STYLE="page-break-inside: avoid"> > <COL WIDTH=256*> > <TR> > <TD WIDTH=100% VALIGN=TOP> > <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> > <FONT COLOR="#008000"><FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">// > The html has too much spacing between the lines, and the space > before âreturnâ is not shown.</FONT></FONT></FONT></P> > <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> > <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">int > main(int argc, char *argv[]) {</FONT></FONT></P> > <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> > <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">return > 0;</FONT></FONT></P> > <P STYLE="margin-left: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> > <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">}</FONT></FONT></P> > </TD> > </TR> ></TABLE> ><P CLASS="western"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Blah >blah.</FONT></P> ><P CLASS="western"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Anotther >thing: the two fonts in the .odt appear the same size, whereas in the >HTML, the code font is too big.</FONT></P> ></BODY> ></HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.3 (Unix)"> <META NAME="AUTHOR" CONTENT="Ivan Godard"> <META NAME="CREATED" CONTENT="20110210;21140000"> <META NAME="CHANGEDBY" CONTENT="Dave Yost"> <META NAME="CHANGED" CONTENT="20110401;16415100"> <STYLE TYPE="text/css"> <!-- @page { margin: 0.79in } P { margin-bottom: 0.08in; background: transparent; direction: ltr; color: #000000; text-align: left; widows: 2; orphans: 2 } P.western { font-family: "Times New Roman", serif; font-size: 11pt; so-language: en-US } P.cjk { font-family: "Lucida Sans Unicode", "Times New Roman"; font-size: 12pt; so-language: zh-CN } P.ctl { font-family: "Tahoma"; font-size: 12pt; so-language: en-US } H2 { margin-bottom: 0.08in; background: transparent; direction: ltr; color: #000000; text-align: left; widows: 0; orphans: 0; page-break-before: auto; page-break-after: auto } H2.western { font-family: "Arial", sans-serif; font-size: 14pt; so-language: en-US; font-style: italic } H2.cjk { font-family: "Lucida Sans Unicode", "Times New Roman"; font-size: 14pt; so-language: zh-CN; font-style: italic } H2.ctl { font-family: "Tahoma"; font-size: 14pt; so-language: en-US; font-style: italic } A.western:visited { so-language: en-US } A.cjk:visited { so-language: zh-CN } A.ctl:visited { so-language: hi-IN } --> </STYLE> </HEAD> <BODY LANG="en-US" TEXT="#000000" DIR="LTR"> <P ALIGN=CENTER STYLE="margin-top: 0.17in; widows: 0; orphans: 0; page-break-after: avoid"> <FONT FACE="Arial, sans-serif"><FONT SIZE=5><B>Title</B></FONT></FONT></P> <P ALIGN=CENTER STYLE="margin-top: 0.17in; widows: 0; orphans: 0; page-break-after: avoid"> <BR><BR> </P> <H2 CLASS="western"><A NAME="__RefHeading__72_1514637501"></A><A NAME="__RefHeading__27_1514637501"></A> 1.1Blah</H2> <P CLASS="western" STYLE="widows: 0; orphans: 0"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Blah blah</FONT></P> <P STYLE="margin-top: 0.06in; margin-bottom: 0.04in; widows: 0; orphans: 0; page-break-after: avoid"> <FONT SIZE=3><I>Listing 1</I></FONT></P> <TABLE WIDTH=96% BORDER=1 BORDERCOLOR="#4c4c4c" CELLPADDING=13 CELLSPACING=0 STYLE="page-break-inside: avoid"> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> <FONT COLOR="#008000"><FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">// The html has too much spacing between the lines, and the space before âreturnâ is not shown.</FONT></FONT></FONT></P> <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">int main(int argc, char *argv[]) {</FONT></FONT></P> <P STYLE="margin-left: 0in; margin-bottom: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">return 0;</FONT></FONT></P> <P STYLE="margin-left: 0in; font-style: normal; font-weight: normal; page-break-inside: avoid; widows: 0; orphans: 0; page-break-after: avoid"> <FONT FACE="Monaco, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">}</FONT></FONT></P> </TD> </TR> </TABLE> <P CLASS="western"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Blah blah.</FONT></P> <P CLASS="western"><FONT FACE="TimesNewRomanPSMT, Times New Roman, serif">Anotther thing: the two fonts in the .odt appear the same size, whereas in the HTML, the code font is too big.</FONT></P> </BODY> </HTML>
View Attachment As Raw
Actions:
View
Attachments on
bug 36447
:
45897
| 45898