3 ms·
The only problem with CSS is that a lot of people use it without understanding the basic rules of the cascade. !important is just one thing another thing is th
by phasersout 5y ago
The only problem with CSS is that a lot of people use it without understanding the basic rules of the cascade.
!important is just one thing another thing is that you shouldn't use ids as in id="myId" for styling because an id has too much weight compared to tags or classes. The only way to override a styled id is with another id - and at this point everybody should realize that no thing should have two identification-tags!
CSS is beautiful and extremely logical. I can very much recommend the book "CSS in depth" by Keith J. Grant - by reading this you go from asking CSS questions on Stackoverflow to answering them.
edit: just to make clear I made the same mistakes for years.