Link-color

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This 'text' tag style sets affects links added with the Flash-HTML <a /> tag. It sets the color of the link.


Value

A hexadecimal representation of an RGB color like "#RRGGBB" or the name of a color. By default, this style is not set.

link-color: #ff0000;


Remarks

There are two ways to create text links in Frontal. One is to use the frLink class defined in The Default Frontal Style Sheet (see also [[text#Creating a Link with a text Tag|Creating a Link with a text Tag]]) and another is to use the Flash-HTML anchor tag. This style is used to set the color of links defined in this latter way.


Example

<style><![CDATA[
    text
    {
        link-color: blue;
        hover-color: red;
    }
	.frLink
		{
			color: blue;
		}
	.frLink:hover
		{
			color: red;		
		}	
]]></style>
<text class="frLink" href="http://www.frontalcode.com/"><![CDATA[A tag link.]]></text>
<text><![CDATA[An <a href="http://www.frontalcode.com/">internal</a> link.]]></text>


Can Be Applied To

This style can be applied to:

Personal tools
Get Adobe Flash player