Main viewer area

Last update: 2021-09-29
  • Created for:
  • Developer

The main view area is the area occupied by the zoom image. It is set to fit the available device screen when no size is specified.

CSS properties of the main viewer area

The appearance of the viewing area is controlled with the following CSS class selector:


CSS property



The width of the viewer.


The height of the viewer.


Background color in hexadecimal format.

Example - to set up a viewer with a white background ( #FFFFFF) and make its size 1174 x 500 pixels.

.s7interactiveimage {
 background-color: #FFFFFF;
 width: 1174px;
 height: 500px;

On this page