Subject: Re: How to use <a style="{font: 10pt arial}"> in XSL? Keepgetting error.
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Tue, 06 Mar 2001 02:48:27 -0800
|
Unless you are going with browser defaults you should set up your hyperlink
fonts in CSS especially if you are using two or more different styles. This
way you can control the different states of the link (active, visited and in
IE - hover)
For example:
a:link {font-family: Arial, Helvetica, sans-serif; font-size: 9pt;
color:#000066}
a:active {font-family: Arial, Helvetica, sans-serif; font-size: 9pt;
color:#cc9900;}
a:visited {font-family: Arial, Helvetica, sans-serif; font-size: 9pt;
color:#330066;}
a:hover {font-family: Arial, Helvetica, sans-serif; font-size: 9pt;
color:#FF6600;}
a.rightnavlinks:link {font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;color:#000066}
a.rightnavlinks:active {font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;color:#cc9900;}
a.rightnavlinks:visited {font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;color:#330066;}
a.rightnavlinks:hover {font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;color:#FF6600;}
hth,
Rob
----- Original Message -----
From: "Colin Muller" <colin@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 05, 2001 10:36 PM
Subject: Re: How to use <a style="{font: 10pt arial}"> in XSL? Keep
getting error.
> Kevin Duffey wrote:
> > First, the use of the word class="" is that MSIE specific, or part of
the
> > whole HTML 4.0 CSS standard
>
> As far as I know, class="something: blah" *without* the curly brackets
> is the way HTML 4.x does it - and that should be acceptable to your XSLT
> processor as well. See the sections on style in the HTML 4 Recs at
> w3.org.
>
> Colin
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error., (continued)
- Tim Watts - Tue, 6 Mar 2001 01:02:10 -0500 (EST)
- Kevin Duffey - Tue, 6 Mar 2001 01:16:56 -0500 (EST)
- Colin Muller - Tue, 6 Mar 2001 01:37:04 -0500 (EST)
- Colin Muller - Tue, 6 Mar 2001 01:52:07 -0500 (EST)
- Robert Koberg - Tue, 6 Mar 2001 06:10:34 -0500 (EST) <=
- Tim Watts - Tue, 6 Mar 2001 01:43:59 -0500 (EST)
- David Carlisle - Tue, 6 Mar 2001 04:12:19 -0500 (EST)
- Kevin Duffey - Tue, 6 Mar 2001 09:53:05 -0500 (EST)
- Michael Kay - Tue, 6 Mar 2001 04:27:45 -0500 (EST)
|
|