PDA

View Full Version : Hyperlinks in document


anmldr
09-26-2005, 11:28 AM
In iSilo, all of my hyperlinks are indicated by blue and underline dashes. Is there a way in to specify in my HTML documents a different color and have them show up as this color on the PDA in iSilo or are all iSilo hyperlinks indicated with the default color?

Linda

iSilo
09-26-2005, 09:08 PM
You can specify properties for the A[href] element. If you look in the html40.css file that is in the installation of iSiloX (for the default installation on Windows, this file is at C:\Program Files\iSilo\iSiloX\CSS\html40.css), you'll see a line for A[href], which reads:

A[href] { text-decoration: underline; color: rgb(32,64,160) }

The html40.css file has the default style properties that iSiloX uses. Individual HTML files can override the default styles using standard CSS notation in the standard ways such as with inline styles, using the style element, external style sheets, etc. (see http://www.w3.org/TR/html401/present/styles.html).

Here is some sample HTML that sets the style for hyperlinks to have no underline and display in red:

<html>
<head>
<title>Anchor style</title>
<STYLE type="text/css">
A[href] { text-decoration: none; color: rgb(255,0,0) }
</STYLE>
</head>
<body>
<a href="b.htm">This is a link</a>.
</body>
</html>

anmldr
09-27-2005, 05:59 AM
Thank you. I will have a look and try your example.

Linda

aschechtman
10-01-2005, 10:32 AM
Also, if you are using a WYSIWYG HTML editor like Microsoft FrontPage, just selecting the link and changing the font color will acheive the same goal without requiring one to dig into the HTML code itself.

Andrew

anmldr
08-29-2008, 07:14 AM
I know that I started this post years ago. I am now on a Mac. Is there an equivalent way on the Mac to alter the css file for iSiloX?

Thanks,
Linda

iSilo
08-29-2008, 10:14 AM
There is no global CSS file that you can modify in iSiloX for Mac, so any CSS must go in a style block in the HTML or in a CSS file that you include into the document.