[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tdf-discuss] Fwd: [libreoffice-users] Writer-Web editing - "a:hover" style removed on saving


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 <webmaster@krackedpress.com>
Reply-To: webmaster@krackedpress.com
To: LibreO - Users Global <users@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+unsubscribe@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: discuss+unsubscribe@documentfoundation.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.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.