Results 1 to 2 of 2

Thread: [RESOLVED] Style Sheet Problem in VS 2003

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Location
    Bonny Scotland
    Posts
    141

    Resolved [RESOLVED] Style Sheet Problem in VS 2003

    Hi,

    Wonder if someone can help me with a stylesheet problem i'm having in VS2003.

    I have created a stle and placed it in the default style sheet of my asp.net application. When i try to set the CssClass of one of my labels to the new Style it doesn't change the look of the label.

    The style is as follows:

    Code:
    S_HEADER
    {
    	font-weight: bold;
    	color: white;
    	font-family: Tahoma;
    	background-color: navy;
    }
    I set the CssClass to S_Header and it does nothing.

    Anyone got any ideas as to why this is so?

    TIA

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Location
    Bonny Scotland
    Posts
    141

    Re: Style Sheet Problem in VS 2003

    Ooooops,

    Appears i have to prefix the name with a full stop before this will work. named the style .S_Header and it works fine now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width