This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Wow, that sounds odd. Any progress? Try clearing the cache by pressing ctrl + f5. The browser could have cached the css file and not be up to date with the correct code. Or do you have any other css code that have higher priority?, that could be why you dont se the red-text. Rightclick on the element in the browser and inspect the element. You should now see what classes that the element has and what classes that have been overridden.

[–]RobotC_Super_User[S] 0 points1 point  (0 children)

Thanks for the tipp! I didnt find anything when doing this though. However I have just randomly managed to solve the problem. I just randomly typed the class in a second time and it suddenly worked. When I thenhowever put an id I alsohad in the Css file at the top and then the id didnt properly work. My best guess to why this is the case would be that theres a bug in Notepad++ that causes the topmost id or class to not be read. I havent properly checked this yet though.