Background Styling Properties

 

Documentation home

 

This page contains documentation for the background group of control styling properties available using Styling Assistants.

 

         

 

Properties

See also local/inherited control properties.

 

Property

Description

Name1

Type1

Get1

Set1

Get/Set Values1

Color

The background color. See color properties.

backgroundColor

Character

Yes

Yes

As CSS background-color property

Image URL

URL of a background image.

backgroundImage

Character

Yes

Yes

See URL properties

Image Position

The position of the image when an image URL is specified. This consists of two words:

  • vertical position (Top, Center, Bottom)
  • horizontal position (Left, Right, Center)

backgroundImagePosition

Character

Yes

Yes

One of:

  • Top Center
  • Top Left
  • Top Right
  • Center Center
  • Center Left
  • Center Right
  • Bottom Center
  • Bottom Left
  • Bottom Right

Image Repeating

Causes the image to tile to fill the available space. Options are:

  • No Repeating
  • Repeat in both directions
  • Repeat Horizontally
  • Repeat Vertically

backgroundImageRepeat

Character

Yes

Yes

One of:

  • no-repeat
  • repeat
  • repeat-x
  • repeat-y

As  CSS background-repeat property

 

1 See accessing control properties from scripts