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 6649207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:44:47+00:00 2026-05-26T00:44:47+00:00

I can not figure out why the below css will not do what it

  • 0

I can not figure out why the below css will not do what it appears to do, if anyone can explain why or help show what I am doing wrong, would greatly appreciate.

<style>
  .button-blue a:link{
   text-decoration: underline overline; color: red!;
   background: #55a4f2!;
   padding: 12px 24px!;
   -webkit-border-radius: 6px!;
   -moz-border-radius: 6px!;
   border-radius: 6px!;
   color: white!;
   font-size: 16px!;
   font-family: 'Lucida Grande', Helvetica, Arial, Sans-Serif!;
   text-decoration: none!;
   vertical-align: middle!;
    font-weight:bold!;
}
.button-blue a:hover  {
   background: #1071d1;
   color: #fff;

}
.button-blue a:active  {
   background: #3e779d;
}
</style>

<div class="button-blue">
<a href="dd" class="button-blue">Post Comment</a>
</div>

<span class="button-blue">
<a href="dd" class="button-blue">Post Comment</a>
</span>

http://jsbin.com/etijiz

  • 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-26T00:44:47+00:00Added an answer on May 26, 2026 at 12:44 am

    It doesn’t do what you expect it to do because you have syntax errors. You appear to have used ! instead of !important. If you remove the exclamation marks it will look a little more like you expected it to.

    Generally it is a bad idea to use !important and if you find yourself using it you probably need to refactor something. It would be a good idea to learn more about how CSS selector specificity works.

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

Sidebar

Related Questions

I can't figure out why this background image does not show up. It seems
I can not figure out what is going wrong but on this simple PHP
I can not figure out why my rich:dataTable is not rendering. I am using
For the life of me, I can not figure out why some styles are
I have to implement simple ray tracing algorithm, but I can not figure out
I can not seem to figure out how to count the number of seconds
I can not for the life of me, figure out how I can reposition
Can someone figure out how to get rid of the NOT EXISTS statements in
I can't figure out why jquerymobile does not correctly display in xCode4's i0s simulator
I can't figure out why sorting is not working in my SSRS Report. I

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.