The height and width attributes are used to specify the height and width of a logo.
In the Advance Printing, the attribute values for Height are specified in pixels while the attribute values for Width are specified in percentage
1. Using Administrator Role, navigate to Customization > Forms > Advanced PDF/HTML Templates.
2. Click Edit on any custom Advanced Printing Forms
3. Click Source button and add the height and width attributes you like to specify on the HTML code for the logo
HTML Code for the logo:
<img src=https://system.netsuite.com/core/media/media.nl?id=xx&c=xxxxx&h=xxxxxx />
Adding height attributes of 90px and width attributes of 50% will look like this:
<img height="90" src=https://system.netsuite.com/core/media/media.nl?id=xx&c=xxxxx&h=xxxxxx width="50%" />
It is a good practice to specify both the height and width attributes for an image. If these attributes are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image. The effect will be that the layout will change during loading.
No comments:
Post a Comment