To display an element as a block-level use: display: block-level; display: block; display: inline; display: display-block; What are three types of layouts? inline, fluid, static fixed, floating, static fixed, fluid, elastic inline, block, scrolling Provide a style rule to set the maximum width of an element to 960 pixels. maximum-width: 960px; maxw: 960px; width: 960px; max-width: 960px; Provide a style rule to horizontally center a block element within its container with a top/bottom margin of 20 pixels. margin: 20px center; margin: center 20px; margin: auto 20px; margin: 20px auto;

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
  1. To display an element as a block-level use:

    1. display: block-level;

    2. display: block;

    3. display: inline;

    4. display: display-block;

  2. What are three types of layouts?

    1. inline, fluid, static

    2. fixed, floating, static

    3. fixed, fluid, elastic

    4. inline, block, scrolling

  3. Provide a style rule to set the maximum width of an element to 960 pixels.

    1. maximum-width: 960px;

    2. maxw: 960px;

    3. width: 960px;

    4. max-width: 960px;

  4. Provide a style rule to horizontally center a block element within its container with a top/bottom margin of 20 pixels.

    1. margin: 20px center;

    2. margin: center 20px;

    3. margin: auto 20px;

    4. margin: 20px auto;

  5. Provide a style rule to place an object on the right margin of its container.

    1. margin: right;

    2. text-align: right;

    3. float: right;

    4. padding: right;

  6. Provide a style rule to display an object only when all floating elements have cleared.

    1. clear: float;

    2. clear: floats;

    3. clear: both;

    4. clear: all;

  7. Your layout has four floated elements in a row but unfortunately the last element has wrapped to a new line. What is the source of the layout mistake?

    1. The widths of the floated elements exceed the available width of their container.

    2. You cannot float more than one object within a row.

    3. You have to clear the first three floating object to make room for the fourth.

    4. You have to clear the fourth floating object to make room for the first three.

  8. Provide a style rule to change the width property for the header element so that it measures the total width of the header content, padding, and border spaces.

    1. box-sizing: border-box;

    2. box-sizing: content-box;

    3. box-sizing: all;

    4. box-sizing: complete;

  9. What causes container collapse?

    1. The width of the child elements exceeds the width of the container.

    2. The width of the container element is fixed at 0 pixels.

    3. The height of the container element is fixed at 0 pixels.

    4. All child elements are floating so that they are free of the container, leaving the container with no content.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education