Close button close-button
Selecting or tapping this button closes the containing web page. This button only appears if the closebutton parameter is set to 1. This button is not available on desktop systems. You can size, skin, and position this button by using CSS.
CSS properties of the main viewer area
The appearance of the button is controlled with the following CSS class selector:
.s7ecatalogsearchviewer .s7closebutton
Position inside artwork sprite, if CSS sprites are used.
See also CSS Sprites.
state
attribute selector, which you can use to apply different skins to different button states.The button tool tip can be localized. See Localization of user interface elements for more information.
Example - To set up a Close button that is 56 x 56 pixels, and positioned 4 pixels from the top and right edge of the main control bar. And finally, displays a different image for each of the four different button states.
.s7ecatalogsearchviewer .s7closebutton {
top:4px;
right:4px;
width:56px;
height:56px;
}
.s7ecatalogsearchviewer .s7closebutton [state='up'] {
background-image:url(images/v2/CloseButton_dark_up.png);
}
.s7ecatalogsearchviewer .s7closebutton [state='over'] {
background-image:url(images/v2/CloseButton_dark_over.png);
}
.s7ecatalogsearchviewer .s7closebutton [state='down'] {
background-image:url(images/v2/CloseButton_dark_down.png);
}
.s7ecatalogsearchviewer .s7closebutton [state='disabled'] {
background-image:url(images/v2/CloseButton_dark_disabled.png);
}