I've got a document that StarOffice converted into HTML, and I'm
trying to clean up the cuft that it generated. I put together some
basic styles, and tied using them: the results are puzzling. The style
definition is:
<STYLE>
<!--
@page { size: 8.5in 11in; margin: 0.79in }
div.res dl dt {
font-weight: bold;
line-height: 3;
text-decoration: underline; }
div.res dl dd { font-size: medium; }
div.res ul li { font: "Courier, serif"; }
.lead {
font-weight: bold;
line-height: 3;
text-decoration: underline;
text-indent: 0; }
.emp { font-weight: bolder; font-size: 1.2em; }
-->
</STYLE>
The StarOffice-generated HTML made extensive use of font tags, which I
am trying to eliminate.
<div class=res>
<p class="lead">
RECENT EXPERIENCE:
</p>
<p>
<span class="emp">name</span>,
address (dates):
</P>
<UL TYPE=DISC>
<LI>text</li>
<LI><P ><FONT FACE="Courier, serif">text
<LI><P ><FONT FACE="Courier, serif">text</FONT></P>
<LI><P ><FONT FACE="Courier, serif">text</P>
<LI><P ><FONT FACE="Courier, serif">text</FONT></P>
<LI><P ><FONT FACE="Courier, serif">text</FONT></P>
<LI><P ><FONT FACE="Courier, serif">text</FONT></P>
</UL>
Superficially it appear as though the text in the first li element
should be rendered the same as the text in the other li elements, but
it isn't. Also, if I try to include either of
font: "Courier, serif";
font-family: "Courier, serif";
in my definition of .emp, then it no longer renders in bold. Please
advise.
Note, this is not XHTML, so the missing ending tags (</font>, </p>)
should be legitimate.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to sp******@library.lspace.org