I asked this on the users list but no replies yet.

So I am posting it here.

-------- Forwarded Message --------
Subject: [libreoffice-users] Writer-Web editing - "a:hover" style removed on saving
Date:   Mon, 21 Aug 2017 20:02:08 -0400
From:   Tim-L--Elmira-NY <webmas...@krackedpress.com>
Reply-To:       webmas...@krackedpress.com
To:     LibreO - Users Global <us...@global.libreoffice.org>



I am trying to use Writer for HTML pages.

I use some specific style sheet options.

Every time I add the "a:hover" option to the page's style system.

<style type="text/css">
         p { color: #000000 }
         td p { color: #000000 }

         a:link {--------
         a:visited {--------

         a:hover {-------

     </style>

Every time I add "a:hover" to this part of the page, after I save the
file, it no longer is listed anymore.

I do have a default "stylesheet.css" and Writer does not like to keep
that as well.

Any good way to use Writer as a web page editor and not have every style
you need removed when it is saved?

Writer does creates/saves their own "a:link" and "a:visited" styles but
will not save the "a:hover" style.

This is what I use in the stylesheet.css file.

a:link
   {
   color:            #378e20;
   text-decoration:  none;
   font-family:      "Georgia", "Palantino Linotype", "Book Antiqua",
"Times New Roman", "Times", serif;
   }

a:visited
   {
   text-decoration:  none;
   color:            #ac3030;
   font-family:      "Georgia", "Palantino Linotype", "Book Antiqua",
"Times New Roman", "Times", serif;
   }

a:hover
   {
   color:            #13076f;
   background:       #80FF80;
   text-decoration:  none;
   font-family:      "Georgia", "Palantino Linotype", "Book Antiqua",
"Times New Roman", "Times", serif;
   }


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


--
To unsubscribe e-mail to: design+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/design/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to