[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to use <a style="{font: 10pt arial}"> in XSL?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|