struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From taj uddin <tajuddi...@yahoo.com>
Subject Re: How to make a textfiled label apper bold in GUI?
Date Wed, 10 Dec 2008 07:08:54 GMT
Hi,
 Thanks Mr.Nils-Helge Garli Hegvik. :-)

--- On Wed, 12/10/08, Nils-Helge Garli Hegvik <nilsga@gmail.com> wrote:
From: Nils-Helge Garli Hegvik <nilsga@gmail.com>
Subject: Re: How to make a textfiled label apper bold in GUI?
To: "Struts Users Mailing List" <user@struts.apache.org>, tajuddin19@yahoo.com
Date: Wednesday, December 10, 2008, 1:57 AM

Should be pretty simple with some CSS:

label {
	font-weight: bold;
}

Nils-H

On Wed, Dec 10, 2008 at 7:28 AM, taj uddin <tajuddin19@yahoo.com> wrote:
> Hi,
>
> In my application the textfield label name should appear bold. If i wrap
the textfield tag with the td tag, its not working.
> For Example, here is my code:
> <tr> <td class="strongtext">
>                                                                
<s:password label="Password" name="password"
size="15" maxlength="15"
onkeypress="if(window.event.keyCode == '13')
getElement('login').click();"/>
>                                                            </td>
>                                                         </tr>
>
> I tried even with this modification as shown below:
>
> <tr> <td><b>
>
>
>  <s:password label="Password" name="password"
size="15"
> maxlength="15" onkeypress="if(window.event.keyCode ==
'13')
> getElement('login').click();"/>
>
>                                                           <b>
>                                                         </td>
>
>                                                         </tr>
> I tried even with the small modification of above code, shown below:
>
> <tr> <td ><strong>
>
>
>  <s:password label="Password" name="password"
size="15"
> maxlength="15" onkeypress="if(window.event.keyCode ==
'13')
> getElement('login').click();"/>
>
> </strong>
> </td>
>
>                                                         </tr>
>
> But no use...
> Note: Label name in the GUI should appear bold or strong.
> Pls help me out in this issue
>
>
>
>
>

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




      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message