10

*[style*="width:"],*[width] {max-width:100% !important;}img[width] {height:auto !important;}

* !important feels so hacky but it works!

Old site with ancient code and multiple people not versed in css or even newer html. Decided, ah F it, just workaround that and * all the things!

Comments
  • 1
    YES. Similar scenario, team of students that had no idea formatted everything with hard coded widths. Funny how a little CSS rule can undo so much damage.
Add Comment