Labels |
Added:
?
|
You can do the same in your template with CSS. Core should not be auto-generating markup with inline style rules (which are actually harder to override in CSS).
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-02 17:29:14 |
Closed_By | ⇒ | brianteeman |
Closing for the reasons stated above. Inline styles should not be used
It looks like this image is using JCaption. It actually fits the image to screen width but it does not recalculate on window resize.
@brianteeman @SharkyKZ I talked about same/similar problem 4 years ago - #10051
and this problem is still not resolved, and now I again saw this problem on a new test website.
Inline CSS is still the incorrect fix. The proper fix is to add the appropriate CSS to your template.
Inline CSS is still the incorrect fix. The proper fix is to add the appropriate CSS to your template.
This is the standard template Protostar that everyone has in Joomla 3. It turns out that this is a problem of Joomla?
As was pointed out on your issue 4 years ago, the appropriate CSS is already included in the template, and as you yourself pointed out because of changes in browsers you were experiencing the issue on an older browser but not a more recent version.
Either way the change you are suggesting is just wrong, end of discussion. If you can demonstrate an actual bug in Joomla then submit a proper bug report with more details than a random screenshot that someone could actually troubleshoot.
Inline styles are not the right way to do this, and when using CSPs would cause errors in the browser.