On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> wrote:

> For example, if I use <A href= ....  in HTML, I can
> specify A:link {text-decoration:none} in my XXX.css
> file.
>
> Now, I am using <html:link>, how do I do the same?  If
> you could give an example?

http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:link
"Renders an HTML <a> element as an anchor definition (if "linkName" is
specified) or as a hyperlink to the specified URL."

Since Struts is going to turn your <html:link> into <a href ...> by
the time it gets to the browser, your styles should work exactly the
same way.

If it's not working, post the <html:link> tag you're using along with
the results (view the source in your browser).

Guessing:  If you're linking to external stylesheets, check the URLs,
especially if they're relative.  Remember that they need to be
relative from the browser's perspective, not necessarily relative to
where your JSP lives on the server.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to