home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.software.seamonkey      Not a bad little Mozilla fork      9,710 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,683 of 9,710   
   Paul B. Gallagher to Richard Owlett   
   Re: Purge *ALL* CSS from an HTML documen   
   10 Feb 26 23:07:40   
   
   From: mozilla@pbg-translations.com   
      
   Richard Owlett wrote:   
      
   > On 2/10/26 2:10 AM, Mike Spencer wrote:   
   >> Richard Owlett  writes:   
   >>   
   >>> As I replied to David. I'm not sure my goal was clear in my   
   >>> original post. I rewrote it as:   
   >>>   
   >>>> I'm looking for a procedure that will accept an HTML file WITH   
   >>>>  CSS and then output an "equivalent" HTML4 file with NO CSS.   
   >>   
   >> This is for a file you have on your own machine?   
   >   
   > Yes.   
   >   
   >> Load it in an editor (emacs my choice) and create a macro that   
   >> replaces an instance of "" with "" and   
   >> execute it as many times as needed.   
   >   
   > Wont work in my case.   
   > The whole Bible is stored as >1400 HTML files and one CSS file in a   
   > single directory [there is a sub-directory handling fonts].   
   The simplest solution is to rename the css file(s), preferably in a   
   recoverable way such as "styles.css" => "styles1.css." Then when you   
   open one of the HTML files, SM will fail to find the css files and apply   
   the styles. You'll get plain text, plus any table formatting and ad hoc   
   formatting such as boldface, emphasis, etc. You need not   
   edit all 1400 HTML files.   
      
   If you don't like the results, you can rename the css files back to   
   their original names and try something else.   
      
   --   
   War doesn't determine who's right, just who's left.   
   --   
   Paul B. Gallagher   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca