What Are the Background Properties of a Block Element

Q

What Are the Background Properties of a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements

✍: FYIcenter.com

A

The background of a block element can be formatted in different ways:

  • Transparent to show the background of the parent element.
  • Non-transparent background with a specified color.
  • A single image at a specific location and other area to be transparent or non-transparent.
  • A image repeated horizontally and other area to be transparent or non-transparent.
  • A image repeated vertically and other area to be transparent or non-transparent.
  • A image repeated horizontally and vertically.

2007-05-11, 5101👍, 0💬