/r/csshelp

Photograph via snooOG

Read the FAQ before posting a question.


Discord channel

Testing123456789101112131415

This subreddit is for help with CSS and questions only. If you only want to share your creations, please direct them to reddithax.

Guides

If you know of a guide that you feel should be listed here, message the moderators with a link.

Posting Guidelines

  1. Please make sure to provide a link to the page/sub where your code is not working as intended.
  2. Paid work requests are fine. However, be aware that any accounts deemed as spam, or fraudulent will be removed and permanently banned without exception.
  3. Remember to respect the users and the community as a whole! Discretion is key, and mods will be here to maintain the quality of the sub.

Related Subreddits

Related Resources

SUBMIT A CSS QUERY

  1.  

  1. First thingy
  2. Something else here
  3. More stuff here
  4. Another list item
  5. More stuff here
  6. Another list item

/r/csshelp

4 Subscribers

1

:Disabled won't change the color of my navigation link? Why?

First, code! (shortened for clarity)

HTML:

<ul>
  <li><a href="about.html" disabled>About</a></li>
  <li><a href="contact.html">Contact</a></li>

CSS:

a[href$=".html"]:disabled { background-color:#fff; }

The object of this is to make the specific link to turn white after it's selected, and prevent it from being clickable. However, that is not the case here. The color remains its original (which is orange) and I can still hover over it and click it.

Any suggestions, or am I using this particular bit of code incorrectly?

0 Comments
2015/04/01
08:02 UTC

3

Some long title. Some long title. Some long title. Some long title. Some long title. Some long title. Some long title. Some long title. Some long title.

Something.

1 Comment
2014/11/04
13:31 UTC

3

Sticky

Sticky

0 Comments
2014/11/04
13:10 UTC

3

Test

Test

1 Comment
2014/11/04
13:04 UTC

Back To Top