8

Client: oh we just need you to organize the files and all..

*ftps into server*
Me: oh so you guys use codeigniter

Client: yeah but for some reason the changes we make on the css files won't go through

Looked into the view files, and literally every element had its own style tag

Comments
  • 2
    How does someone actually do that and not go insane? Or was it auto-generated code?

    Just go down the CSS and add "!important" to every property - problem solved. 👍🏻
  • 2
    @samk the style tags actually had !important on them because I think the intention was to ignore css files.. It was a nightmare
  • 1
    sometimes you get 3rd party integrations that inject their styles in your header and have "!important" after each line. strait back to sender with that.
Add Comment