PC Review


Reply
Thread Tools Rate Thread

How can we use stylesheet

 
 
Bhuwan Bhaskar
Guest
Posts: n/a
 
      7th Oct 2007
Hi,

I am new for Stylesheet. How can I use stylesheet in set background color of
textbox and label control?

Thanks and Regards,
Bhuwan


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      7th Oct 2007
On Oct 7, 4:16 pm, "Bhuwan Bhaskar" <k...@gmail.com> wrote:
> Hi,
>
> I am new for Stylesheet. How can I use stylesheet in set background color of
> textbox and label control?
>
> Thanks and Regards,
> Bhuwan


create a style, for example

mystyle
{
background-color: red
}

then use it

<asp:Label CssClass="mystyle" ....

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
StyleSheet =?Utf-8?B?QmFyZW4=?= Microsoft ASP .NET 2 29th May 2006 12:09 PM
CSS stylesheet =?Utf-8?B?d3J5dGF0?= Microsoft ASP .NET 5 18th May 2005 02:40 AM
Stylesheet =?Utf-8?B?U3ZlbiBEYWVtcw==?= Microsoft Access Reports 1 23rd Apr 2005 02:43 PM
How to use an XSL stylesheet Scott Danzig Microsoft VC .NET 0 5th Feb 2004 05:45 PM
DWT and stylesheet Anonymous Microsoft Frontpage 1 20th Nov 2003 03:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 PM.