3.2.0

XP Style And Button Images

I use the XP CSS stylesheet, but it seems that the images on the button are not vertically-aligning?

For example:
.aw-image-vendorLook  {background: url(/images/16x16/view.png); background-repeat:no-repeat;}


will result in an image aligned towards the top of the button.

What's the best way to get it centered?

- alphadog
Paul Tiseo
November 17,
It is possible to adjust the image position with background-position property, for example

.aw-image-vendorLook {
background: url(/images/16x16/view.png) no-repeat center center;
}

or

.aw-image-vendorLook {
background: url(/images/16x16/view.png) no-repeat 0px 4px;
}

Alex (ActiveWidgets)
November 17,
Worked like a charm. Thanks.

- alphadog
Paul Tiseo
November 21,

This topic is archived.

See also:


Back to support forum