: To prevent distortion, it is best to only set the width or the height and let the browser auto-calculate the other dimension. Setting both can result in a "stretched" look if the source image is not exactly
When using fixed dimensions in a report or web page, consider the following:
: Defining width and height in the HTML helps the browser reserve space for the image before it loads, preventing "layout shift" where text jumps around as images appear.
: To prevent distortion, it is best to only set the width or the height and let the browser auto-calculate the other dimension. Setting both can result in a "stretched" look if the source image is not exactly
When using fixed dimensions in a report or web page, consider the following:
: Defining width and height in the HTML helps the browser reserve space for the image before it loads, preventing "layout shift" where text jumps around as images appear.