List the styles commonly used to create and place a background image on a Web page.

What will be an ideal response?


To create a background image that is half the width and height of the containing element, centered vertically and horizontally, and not tiled, you could apply the following styles:
background-position: center center;
background-repeat: no-repeat;
background-size: 50% 50%;
In the box model discussed earlier, every element contains a content box, a padding box, and a border box. You can define the extent of a background image or color using the style
background-clip: box;
where box is content-box, padding-box, or border-box (the default).

Computer Science & Information Technology

You might also like to view...

A ____ is an image that is tiled, or repeated, to fill a selection or a layer.

a. transparency b. mode c. layer mask d. pattern

Computer Science & Information Technology

What two sets of data does every folder and file on an NTFS partition list?

A. User and group access and level of access B. Read and Execute permissions C. NTFS and FAT permissions D. Encryption and decryption attributes

Computer Science & Information Technology

A __________ configuration is a current record of the configuration of the information system for use in comparisons to future states.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What type of search engine searches other search engines?

A) Subject-oriented B) Metasearch C) Boolean D) Keyword

Computer Science & Information Technology