1 reply [Last post]
air-supplies
air-supplies's picture
Offline
newbie
Last seen: 7 years 18 weeks ago
Timezone: GMT+2
Joined: 2014-07-29
Posts: 1
Points: 2

Im a beginner with css and building a website i stuck with a issue that the css handles some requests not correct.

on my developers website im working to integrate a part custommade item into the website.
The custom made part is seperate to found at LINK

but it is visible on the website at LINK

the items where its stated "Beschikbaar" is also red and must be green, how to solve this?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 day 9 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Hi air-supplies, You have

Hi air-supplies,
You have over used !important, try to avoid using it as much as possible as it complicates your styles.

Try something like this

/* onderdeel van consulenten-status.php */
 .consultant .button.Pauze {
    background: none repeat scroll 0 0 #64acdd;
}
.consultant .button.Bezet {
    background: none repeat scroll 0 0 #f9b526;
}
 .consultant .button.Afwezig {
    background: none repeat scroll 0 0 #f1000b;
}
.consultant .button.Beschikbaar {
    background: none repeat scroll 0 0 #96a93c; 
}