07-28-2019, 08:18 PM
(This post was last modified: 08-01-2019, 08:05 AM by Mario.
Edit Reason: mybb keeps eating my edits
)
This is pretty interesting, because according to the HTML it outputs, there are height and width attributes that match what you're putting in there. I wasn't aware you could even scale images like that but I found it on the MyCode help page- so this is a core feature that MFGG is breaking somehow.
and I found the culprit here. Line 383 in global.css, the height: auto and width: auto are overriding it. I believe this is done this way to scale images so they don't go outside of the tables, but I don't think the auto are necessary- they might be, would need to test with really wide images and I don't have any on hand.
""We choose to go to the [Suggestions board] not because it's easy, but because it's hard; because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win."
- John F. Kennedy"
- gothgirlgangblastermaster
and I found the culprit here. Line 383 in global.css, the height: auto and width: auto are overriding it. I believe this is done this way to scale images so they don't go outside of the tables, but I don't think the auto are necessary- they might be, would need to test with really wide images and I don't have any on hand.
Code:
.scaleimages img {
max-width: 100%;
height: auto;
width: auto;
}
Interested in web development? Check out Super Mario Web Development. Wahoo!
""We choose to go to the [Suggestions board] not because it's easy, but because it's hard; because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win."
- John F. Kennedy"
- gothgirlgangblastermaster