Monday, April 27, 2015

Quick solution to max-width not working on #Firefox #CSS

Quick solution when max-width isn't filling the element in Firefox.

A recent update on firefox change the way it handled max-width in css and meant that in some case the image no longer fills the element in which it resides (in my case a Joomla module).

Now I’m not an expert in CSS (far from it) but I wanted to share my simple solution for fixing max-width when used inline in html:



from Andrew Brett Watson.com

No comments: