Skip to content Skip to sidebar Skip to footer

Css !important Doesn't Work & Inline-block Changes To Block

Sorry if this is a duplicate post. I hadn't found the answer yet in a few similar posts. This is my website's HTML: However, the styles inline-block margin-left margin-right all d

Solution 1:

There's probably another line overwriting your important line. What I always do in these cases is: open the page in firefox, right-click on the concerned element and click on "investigate" to open the dev tool, then normally your overwritten css line will have a filter displayed next to it. click on that icon, and it will exactly show you which css line overwrites the existing one.


Post a Comment for "Css !important Doesn't Work & Inline-block Changes To Block"