CSS style to html:link

2006-08-18 Thread Kavita Mehta
Hi, I want to remove the underline from the hyperlink which i am creating using html:link in case of a href .. CSS style of A:link {text-decoration: none} can be used . but i am not able to find the same for html:link please help. Thanks , Kavita

Re: CSS style to html:link

2006-08-18 Thread Li
hi, html:link is a/a so in your css, you can still use a { text-decorartion:none } and in your jsp, just use html:link which will use the css style defined for a. On 8/18/06, Kavita Mehta [EMAIL PROTECTED] wrote: Hi, I want to remove the underline from the hyperlink which i am creating using

Re: CSS style to html:link

2006-08-18 Thread Kavita Mehta
i tried that but its not working . In the JSP that is finally displayed, the a href tag is not including the style tag in it . Li wrote: hi, html:link is a/a so in your css, you can still use a { text-decorartion:none } and in your jsp, just use html:link which will use the css style defined

Re: CSS style to html:link

2006-08-18 Thread Kavita Mehta
Okk ..now it did ...when i replaced A:link{ } with just A{} thanks... Li wrote: hi, html:link is a/a so in your css, you can still use a { text-decorartion:none } and in your jsp, just use html:link which will use the css style defined for a. On 8/18/06, Kavita Mehta [EMAIL PROTECTED]

Re: CSS style to html:link

2006-08-18 Thread Gareth Evans
html:link style=text-decoration: none or html:link styleClass=nodecoration where a.nodecoration { text-decoration: none; } Gareth Li wrote: hi, html:link is a/a so in your css, you can still use a { text-decorartion:none } and in your jsp, just use html:link which will use the css

Re: CSS style to html:link

2006-08-18 Thread Li
I am not suggested to define style within tag or jsp. for small portion of style which will not be changed is ok. but if the style is widely used in application, a separate css file will be a better solution On 8/18/06, Gareth Evans [EMAIL PROTECTED] wrote: html:link style=text-decoration: