trichview.com

trichview.support




Re: Unnecessary css lines in the source of a HTML-file (Part. 2)


Return to index


Author

Message

Stef Mientki

Posted: 03/12/2005 16:34:23


hello Pieter,


Pieter E. wrote:


> Dear Stef,

>

> I don't understand what you're trying to say.

Apparently we don't understand each other.

So let's try again.

What I'm trying to say, in very concrete terms:

I'm using richview edit for html files with CSS, for 2 years now,

changing styles very frequently, with over 1000 html pages and my CSS

files are still as large as 2 years ago. And indeed some html pages

don't use all the 13 textstyles, so they could be very little bit

smaller ;-)


What are you trying to say ?

Are the CSS files too large or are the html files too large?

Or are you using CSS-definitions inside the html pages ?


I'm very interested in this subject, because I write all documents

(mostly with RichView) in html+CSS format. So if I can improve my

program, I'll jump in.

I hope some day, even the html-importer will become a little better ;-)


Cheers,

Stef Mientki



  The problem is that the final

> HTML-file contains unused css-code. If you visit the added hyperlink in the

> previous post you can see what I mean.

>

> The final css-source is unnecessary big when using RichViewEdit for a lot

> of changes. A solution is to use 'DeleteUnusedStyles' but this clears the

> undo/redo history. So that's not an option.

>

> Sergey had some items on his to-do-list. Two of the things are: 'to make

> undoable version of DeleteUnusedStyles' and 'to avoid saving unused styles

> in CSS'. My question is if there is any progress in this development.

>

> Thanks.

>

> Pieter E.

>

> Stef Mientki <S.Mientki-nospam@mailbox.kun.nl> wrote:

>

>>

>>Pieter E. wrote:

>>

>>>Dear Sergey,

>>>

>>>Is there already a solution for my post: "Unnecessary css lines in the

>

> source

>

>>>of a HTML-file"?

>>>

>>

>>Isn't this a philosophical issue ?

>>

>>Afaik, CSS is meant to give all (or at least a lot of) pages the same

>>style. So using RichView with CSS has afaik, just 1 solution:

>>1. the (RichView) Editor you use to generate and modify the html code,

>>has a fixed number of styles

>>2. all these styles are always exported to the CSS style.

>>

>>Now the Editor can changes these styles (upon which all html docs,

>>referring to this CSS-file, will change their apperance). You can even

>>add extra styles, which can be used in newer html docs. But you can

>>never remove old styles, because you don't know if they are used in

>>already existing html docs.

>>

>>I'ld like to hear, what others think of this reasening.

>>I'm using this method (where I allow, just one CSS-file in one directory

>

>

>>and have 3 stylesets, of each 13 textstyles) for about 2 years now, and

>

>

>>I'm very satisfied about the method. (I'll probably will release a

>>freeware application using this method within a month)

>>

>>Stef Mientki

>>

>>

>>

>>

>>>(http://www.trichview.com/support/dnewsweb.cgi?utag=&group=trichview.support&xrelated=7635&cmd_thread_last.x=65&cmd_thread_last.y=15)

>>>

>>>I've seen in the 'Examples.txt' from RichView v1.9.6 a way to remove unused

>>>styles for 2 RichViews linked to the same RVStyle.

>>>Is this example a solution for my problem? (I've tried it, without any

>

> succes...)

>

>>>:(

>>>

>>>Thanks.

>>>

>>>Pieter E.

>

>





Powered by ABC Amber Outlook Express Converter