trichview.com

trichview.support




More compact html-source


Return to index


Author

Message

Pieter E.

Posted: 11/11/2004 18:06:18


The conversion of RichViewEdit to html works great. Still I have a question

about the css in the html source.


I save the css with the 'SaveCSSToStream' function. The source of the CSS

in the html looks like this:


/* ========== Text Styles ========== */

hr { color: #000000}

body, table /* Normal text */

{

font-size: 10pt;

font-family: 'Arial';

font-style: normal;

font-weight: normal;

color: #000000;

text-decoration: none;

}

span.rvts1 /* Heading */

{

font-weight: bold;

color: #0000ff;

}

span.rvts2 /* Subheading */

{

font-weight: bold;

color: #000080;

}

span.rvts3 /* Keywords */

{

font-style: italic;

color: #800000;

}


Is there a way to make this source more compact?


1. I'd like to remove the extra info like :

/* ========== Text Styles ========== */


2. I'd like this on one line:

span.rvts1 /* Heading */

{

font-weight: bold;

color: #0000ff;

}


Like:

span.rvts1 { font-weight: bold; color: #0000ff; }


3. Finally I'd like to change the 'rvts' en 'rvps' into something else like

'ts' and 'ps'.


Do I need to change the .pas files or is there a better way?

(I don't like to change the .pas files because of the updates everything

is gone...)


Thanks.


Pieter E.





Powered by ABC Amber Outlook Express Converter