Subject: RE: How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error.
From: "Kevin Duffey" <kevin.duffey@xxxxxxxx>
Date: Mon, 5 Mar 2001 22:22:00 -0800
|
Two things..
First, the use of the word class="" is that MSIE specific, or part of the
whole HTML 4.0 CSS standard?
Second, once this is done like so, how do I use it on the XSL page? I am not
at all a CSS developer, so I have no idea how to use it. I just want the
simple link color/font/size capability.
On another note, do you know if it is possible in MSIE/NS 4.0 or 5.0+ to
replace "static" text dynamically with JavaScript/CSS? Basically, I want to
update some Totals in real-time via JavaScript. When a user leaves a field,
I want a JavaScript handler to run and total a few fields, and display that
result in a specific table cell. Is this possible? If not, is it at least
possible to change the value in an <input type="text"> box dynamically?
Sorry for the non XSL related questions, but you seem to know a bit about
CSS and I am about to rework our entire project because I can't seem to
figure this one out.
Thanks.
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tim Watts
> Sent: Monday, March 05, 2001 10:02 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: How to use <a style="{font: 10pt arial}"> in XSL?
> Keep getting error.
>
>
> Hi Kevin,
>
> I often use the {} tags in the XSL that I write to indicate code
> in brackets
> that needs to be parsed (usually xml:value-of for values in
> javascript parts
> of the code.)
>
> It seems to me that the parser is trying to part the font: as if it were a
> namespace prefix such as xsl:
>
> I would suggest using external css's and refer to this in the XSL such as
>
> <a class="anchorred" href="/path/path.jsp">click</a>
> <a class="anchorgreen" href="/path/path.jsp">click</a>
> <a class="anchorblue" href="/path/path.jsp">click</a>
>
> Tim :)
>
>
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin Duffey
> Sent: Tuesday, 6 March 2001 4:42 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: How to use <a style="{font: 10pt arial}"> in XSL? Keep
> getting error.
>
>
> Hi there,
>
> I am sure there is a good reason for why the error of "Namespace
> prefix font
> has not been declared" when I use the syntax of
>
> <a style="{font: 10pt arial}" href="/path/page.jsp">click</a>
>
> I would like to use styles on my pages to give links different colors and
> faces.
>
> Thanks.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
> 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 |
- XSL,Javascript, NS 4.x
- Rush, Marc - Mon, 5 Mar 2001 12:03:06 -0500 (EST)
- Michael Beddow - Mon, 5 Mar 2001 18:34:08 -0500 (EST)
- Kevin Duffey - Tue, 6 Mar 2001 00:36:46 -0500 (EST)
- 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)
|
|