Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3224550
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:14:11+00:00 2026-05-17T16:14:11+00:00

In my web page there is link button and on that link button i

  • 0

In my web page there is link button and on that link button i want to add pseudo class of css which is made in another css page. I call that css page in aspx page. I want to use my pseudo class with this linkbutton .How to use this?

So my question is :I want to add this pseudo cssclass in linkbutton. how to do that?

This css want to call on linkbutton.

<style type="text/css">
lbtnLogOut:link {color:red;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;}   
lbtnLogOut:visited {color:#598090;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;} 
lbtnLogOut:hover {color:green;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;} 
lbtnLogOut:active {color:Fuchsia;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;}
</style>

On this link button i want to use.

<asp:LinkButton ID="lbtnLogOut" runat="server" OnClick="lbtnLogOut_Click" cssClass="lbtnLogOut"
          CausesValidation="False" OnClientClick="return ValidateTextBox();">Log Out</asp:LinkButton> 

This is not working .please someone modify it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:14:12+00:00Added an answer on May 17, 2026 at 4:14 pm

    CSS class names are preceded by dot(.) in style-sheet. So you need to modify CSS section:

    <style type="text/css">
       .lbtnLogOut:link {color:red;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;}   
       .lbtnLogOut:visited {color:#598090;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;} 
       .lbtnLogOut:hover {color:green;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;} 
       .lbtnLogOut:active {color:Fuchsia;font-size: 12px;font-family: Verdana, Arial;font-size: 12px;}
    </style>
    

    Another thing – check case of CssClass property (you have used cssClass).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any Web page designing software out there that allow me to drag
Are there any issues with changing elements which will appear on a web page
On the web page, it looks like there is no current development in the
I'm working on a 10 page web site with a database back-end. There are
There's a webpage that enables service providers to check customers insurance validity. The page
My web page sits in a DIV that is 960px wide, I center this
This web page http://www.w3schools.com/ASP/prop_sessionid.asp states that a session ID is generated on the ServerSide.
Our web page is only available internally in our company and we am very
I'm writing a web page in ASP.NET. I have some JavaScript code, and I
I got a webserver with a running application. There's a webpage with a form:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.