trichview.support
Re: Unnecessary css lines in the source of a HTML-file (Part. 2) |
Author |
Message |
Pieter E. |
Posted: 03/12/2005 16:07:45 Dear Stef, I don't understand what you're trying to say. 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 <[email protected]> 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