| Using Background
Images
To define background settings:
- Open the CSS Styles panel
(Shift+F11), if it isn’t already open.
- Open the CSS Style Definition
dialog box by doing one of the following:
- Add a new style. For detailed
information, see Creating a new CSS style.
- Double-click an existing
style to open it for editing.
- In the CSS Style Definition
dialog box, choose Background, then set the
style attributes you want.
Leave any of the following attributes empty if
they are not important to the style:
Background Color
sets the background color for the element. The
background color attribute is supported by both
browsers.
Background Image sets the
background image for the element.The background
image attribute is supported by both browsers.
When using a GIF image
for a background make sure the color depth of
the image is evenly divisible by 16. Otherwise
it may not appear in some versions of Netscape's
browser. For instance a GIF image using 34 colors
would not be evenly divisible by 16 since there
would be a remainder.

Repeat determines whether and how the
background image is repeated. The Repeat
attribute is supported by both browsers.
No Repeat displays
the image once at the beginning of the element.
Repeat tiles
the image horizontally and vertically behind the
element.
Repeat-x
and Repeat-y display a horizontal
and vertical band of images, respectively. Images
are clipped to fit within the boundaries of the
element.
Use the Repeat property attribute
in the CSS style box to redefine the body tag
and set a background image that does not tile
or repeat.

Attachment determines whether the background
image is fixed at its original position or scrolls
along with the content. Note that some browsers
may treat the Fixed option as
Scroll. This is supported by Internet Explorer
but not Netscape Navigator.
Horizontal Position
and Vertical Position specify
the initial position of the background image in
relation to the element. This can be used to align
a background image to the center of the page,
both vertically and horizontally. If the attachment
property is Fixed, the position is relative to
the Document window, not to the element. This
attribute is supported by Internet Explorer but
not Netscape Navigator.
When you are finished
setting these options, select another CSS category
on the left side of the panel to set additional
style attributes, or click OK.
|