home bbs files messages ]

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

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

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

   Message 123,530 of 123,932   
   Janis Papanagnou to Richard Owlett   
   [OT] Change text decorations in HTML (wa   
   13 Jul 24 21:18:01   
   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 13.07.2024 18:08, Richard Owlett wrote:   
   > I'm reformatting some HTML files containing chapters of the KJV Bible.   
   > My source follows the practice of italicizing some words.   
   > I find italics distracting.   
   >   
   > These occurrences are consistently of the form   
   >    arbitrary_text   
      
   It just occurred to me that if you say the italic text entities are   
   the text objects in this span clause then the italic text-decoration   
   is likely defined as a CSS attribute of the respective CSS class.   
   That would in your example mean the class "add". Since you generally   
   don't seem to like italics it would be easier - and also the usual   
   way to tackle such a text - to change the single CSS attribute of   
   the class. You find it in the CSS section of the header file or in   
   a file with the CSS definition that is referenced in the HTML file.   
   Look out for a line like   "font-style: italic;   and remove that.   
      
   Janis   
      
   >   
   > I wish to delete "" and *ASSOCIATED* "".   
   > Obviously it would not be wise to fully automate the action.   
   > I wish to find all occurrences of  class='add'>arbitrary_text an manually confirm the edit.   
   >   
   > In general, is it feasible?   
   > Can KDE's Kate do it?   
   >   
   > TIA   
      
   --- 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