Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



I have a question.
Where is the color for the hyperlinks defined?
In the document or in a CSS file?

I tend to use these CSS style sheets to have a set of predefined text color and size options, including the colors of the defined hyperlink options. So I just have to refer to the style sheet file and use the defined link styles and the commands like "#n10link" type of command in the "style" tag to define the fonts, color, and size, of the text in the web page.

I am now using 5.1.1.3 on my Ubuntu 64-bit laptop. Do you remember which version of LO your link colors worked correctly with?

I cannot find the info for adding a color in the add hyperlink option - such as defining the colors for link, visited, and hover color options shown in the CSS sample I have included in this document. To be honest, because I use CSS files I never tried looking for the color options you needed. Also, I do not use Writer/Web for web page editing.

I was using Kompozer for a long time, till Ubuntu changed the GUI and became unsupported using Ubuntu 14.XX or later. I do have it on my Windows partition though. I currently use Bluefish on Linux for the basic file editing. I do not think I would want to use that for new page creation though. Maybe I will see into using Writer/Web for some of the work, at some later time.

This is a small sample of my standardized style sheet file.
<!--
a:link
  {
  color: #004040;
  text-decoration: none;
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  }
a:visited
  {
  text-decoration: none;
  color: #0e4a08;
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  }
a:hover
  {
  color:      #006400;
  background: #CEE7CE;
  text-decoration:none;
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  }
#s14
  {
  font-size: 14pt;
  }
/*                               */
/*  Serif Link and Text Fonts    */
/*                               */
#n10link
  {
font-family: "Tahoma", "Geneva", "Verdana", "Arial", "Hevetica", "Trebuchet MS", "Monico", san-serif;
  color: #800000;
  font-size: 10pt;
  }
#n12link
  {
font-family: "Tahoma", "Geneva", "Verdana", "Arial", "Hevetica", "Trebuchet MS", "Monico", san-serif;
  color: #800000;
  font-size: 12pt;
  }
#n14link
  {
font-family: "Tahoma", "Geneva", "Verdana", "Arial", "Hevetica", "Trebuchet MS", "Monico", san-serif;
  color: #800000;
  font-size: 14pt;
  }

#s10link
  {
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  color: #800000;
  font-size: 10pt;
  }
#s12link
  {
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  color: #800000;
  font-size: 12pt;
  }
#s14link
  {
font-family: "Georgia", "Palantino Linotype", "Book Antiqua", "Times New Roman", "Times", serif;
  color: #800000;
  font-size: 14pt;
  }
-->


On 03/16/2016 02:22 PM, Dale H. Cook wrote:
I don't know what happened to my LibreOffice 5.1.0.1 installation, but in Writer new hyperlinks 
began behaving oddly. The colors for visited and unvisited links defaulted to the original 
automatic colors, and that was easily fixed. New hyperlinks (both internet and document), however, 
are now no longer underlined. Any clues?

Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants;
Plymouth Co. MA Coordinator for the USGenWeb Project
Administrator of http://plymouthcolony.net




--
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

Context


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.