Subject: Re: [xsl] How to use <a style="{font: 10pt arial}"> in XSL? Keep getting 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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to use <a style="{fon, Colin Muller | Thread | RE: [xsl] How to use <a style="{fon, Tim Watts |
Re: [xsl] Re: implements-prefix vs , Jeni Tennison | Date | RE: [xsl] How to use <a style="{fon, Beckers, Marc |
Month |