Groups | Search | Server Info | Login | Register


Groups > alt.comp.software.seamonkey > #8445

Re: Purge *ALL* CSS from an HTML document

From Schugo <schugo@schugo.de>
Newsgroups alt.comp.software.seamonkey
Subject Re: Purge *ALL* CSS from an HTML document
Date 2026-02-13 16:50 +0100
Organization A noiseless patient Spider
Message-ID <10mnh88$2eo6s$1@dont-email.me> (permalink)
References (5 earlier) <10mfck9$3m3ka$1@dont-email.me> <10mgvac$7eqd$1@dont-email.me> <10mi75f$ncc4$1@dont-email.me> <10mkoka$2kqs$1@solani.org> <10mncg0$2cvn0$1@dont-email.me>

Show all headers | View raw


On 13.02.2026 15:29, Richard Owlett wrote:
> On 2/12/26 8:38 AM, Dirk Fieldhouse wrote:
>> On 11/02/2026 15:27, Richard Owlett wrote:>...>
>>> I have ANOTHER project for which I want a CSS free HTML file.
>>> ...
>> Do you want:
>> 1.	no CSS syntax at all?
>> 2.	to strip out all mention of the external CSS?
>> 3.	that, but to have the same styles applied within the HTML document?
>> [ *SNIP* ]
> 
> Clarification.
> I want both WITHCSS.HTML and WITHOUTCSS.HTML to appear identical when 
> viewed with the same browser. *BUT* I want the content/structure of 
> WITHOUTCSS.HTML to be as if CSS had never been invented ;/
> ...

This looks like it:

https://github.com/ppKrauss/html5-to-html4

I only could only do a quick test with my PHP 8.x installation.
There were 3 errors. I could only fix 2.

Maybe it works fine with 5.6 or 7.1/7.2/7.3?

Also you have to enable the xslt support (.so, .dll) in php.ini first.

ciao..

Back to alt.comp.software.seamonkey | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 08:40 -0600
  Re: Purge *ALL* CSS from an HTML document "David E. Ross" <nobody@nowhere.invalid> - 2026-01-29 08:09 -0800
    Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 12:08 -0600
  Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-01-29 20:08 +0100
    Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-01-29 20:13 +0100
      Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 15:33 -0600
        Re: Purge *ALL* CSS from an HTML document Mike Spencer <mds@bogus.nodomain.nowhere> - 2026-02-10 04:10 -0400
          Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-10 07:42 -0600
            Re: Purge *ALL* CSS from an HTML document "Paul B. Gallagher" <mozilla@pbg-translations.com> - 2026-02-10 23:07 -0500
              Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-11 09:27 -0600
                Re: Purge *ALL* CSS from an HTML document Dirk Fieldhouse <surname@gmx.net.plusremovethisandtherest.invalid> - 2026-02-12 14:38 +0000
                Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-13 08:29 -0600
                Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-02-13 16:50 +0100
                Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-14 05:04 -0600
                Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-02-16 18:28 +0100
        Re: Purge *ALL* CSS from an HTML document Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-02 08:46 +0000

csiph-web