You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kavita Mehta <ka...@hsc.com> on 2006/08/18 12:13:14 UTC

CSS style to

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: CSS style to

Posted by Kavita Mehta <ka...@hsc.com>.
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
> for "a".
>
>
> On 8/18/06, Kavita Mehta <ka...@hsc.com> wrote:
>>
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: CSS style to

Posted by Li <am...@gmail.com>.
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 <ga...@msoft.co.uk> wrote:
>
> <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 style
> defined
> > for "a".
> >
> >
> > On 8/18/06, Kavita Mehta <ka...@hsc.com> wrote:
> >>
> >> 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
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> >
>
> --
> Gareth Evans
>
> Senior Developer
>
> MSoft eSolutions Limited
> Technology Centre
> Inward Way
> Rossmore Business Park
> Ellesmere Port
> Cheshire
> CH65 3EN
>
> --
> Tel:    +44 (0)870 0100 704
> Fax:    +44 (0)870 9010 705
> E-Mail: gareth@msoft.co.uk
> Web:    www.msoft.co.uk
>
> ----------------------------------------------
> Terms:
> Please note that any prices quoted within this e-mail are subject to VAT.
> All program details and code described in this e-mail are subject to
> copyright (c) of MSoft eSolutions Limited and remain the intellectual
> property of MSoft eSolutions Limited.
> Any proposal or pricing information contained within this e-mail are
> subject to MSoft eSolutions' Terms and Conditions
> ----------------------------------------------
> Disclaimer:
> This message is intended only for use of the addressee. If this message
> was sent to you in error, please notify the sender and delete this
> message. MSoft eSolutions Limited cannot accept responsibility for
> viruses,
> so please scan attachments. Views expressed in this message do not
> necessarily reflect those of MSoft eSolutions Limited who will not
> necessarily be bound by its contents.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.

Re: CSS style to

Posted by Gareth Evans <ga...@msoft.co.uk>.
<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 style defined
> for "a".
> 
> 
> On 8/18/06, Kavita Mehta <ka...@hsc.com> wrote:
>>
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 

-- 
Gareth Evans

Senior Developer

MSoft eSolutions Limited
Technology Centre
Inward Way
Rossmore Business Park
Ellesmere Port
Cheshire
CH65 3EN

-- 
Tel:    +44 (0)870 0100 704
Fax:    +44 (0)870 9010 705
E-Mail: gareth@msoft.co.uk
Web:    www.msoft.co.uk

----------------------------------------------
Terms:
Please note that any prices quoted within this e-mail are subject to VAT.
All program details and code described in this e-mail are subject to
copyright © of MSoft eSolutions Limited and remain the intellectual
property of MSoft eSolutions Limited.
Any proposal or pricing information contained within this e-mail are
subject to MSoft eSolutions' Terms and Conditions
----------------------------------------------
Disclaimer:
This message is intended only for use of the addressee. If this message
was sent to you in error, please notify the sender and delete this
message. MSoft eSolutions Limited cannot accept responsibility for viruses,
so please scan attachments. Views expressed in this message do not
necessarily reflect those of MSoft eSolutions Limited who will not
necessarily be bound by its contents.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: CSS style to

Posted by Kavita Mehta <ka...@hsc.com>.
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 <ka...@hsc.com> wrote:
>>
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: CSS style to

Posted by Li <am...@gmail.com>.
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 <ka...@hsc.com> wrote:
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.