IES: CSS-deck 9 Flashcards

1
Q

\_\_\_\_\_ property: specifies a content box- positioned at the containing element side boundary: typically, flows text around these content boxes.

A

Float property: specifies a content box- positioned at the \_\_\_\_\_ \_\_\_\_\_ side boundary: typically, \_\_\_\_\_ \_\_\_\_\_ around these content boxes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

\_\_\_\_\_ property: explicitly prevent text from flowing alongside using the CSS “\_\_\_\_\_” property- specifying “left,” “right,” or “both” (text will begin below).

A

Float property: explicitly prevent text from \_\_\_\_\_ \_\_\_\_\_ using the CSS “clear” property- specifying “left,” “right,” or “both” (text will begin below).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Floated content boxes are not removed from the \_\_\_\_\_ \_\_\_\_\_ \_\_\_\_\_: their original position gets filled with surrounding content.

A

Floated content boxes are not removed from the normal flow layout: their \_\_\_\_\_ \_\_\_\_\_ gets filled with surrounding content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With \_\_\_\_\_, any element can be floated.

A

With CSS, any \_\_\_\_\_ can be floated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The \_\_\_\_\_ property specifies how content that exceeds its content boundaries will be handled.

A

The Overflow property specifies how content that exceeds its content boundaries will \_\_\_\_\_ \_\_\_\_\_.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Surplus content is generally \_\_\_\_\_ by default: the CSS \_\_\_\_\_ property specifies handling behaviors using the keywords- “hidden” and “scroll.”

A

Overflow content is generally \_\_\_\_\_ by default: the CSS overflow property specifies handling behaviors using the keywords- “\_\_\_\_\_” and “\_\_\_\_\_.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Overflow: using the keyword “\_\_\_\_\_,” overflowing content will be invisible.

A

Overflow: using the keyword “hidden,” overflowing content will be \_\_\_\_\_.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Overflow: Using the keyword “\_\_\_\_\_,” overflowing content can be viewed by the user using horizontal and vertical scrollbars provided by the browser.

A

Overflow: Using the keyword “scroll,” overflowing content can be viewed by the user using \_\_\_\_\_ and \_\_\_\_\_ \_\_\_\_\_ provided by the browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Overflow: Control whether the browser provides only a \_\_\_\_\_ or a \_\_\_\_\_ \_\_\_\_\_ using style rules for the properties: overflow-x and overflow-y, relatively, using the values “\_\_\_\_\_” and “\_\_\_\_\_.”

A

Overflow: Control whether the browser provides only a horizontal or a vertical scroll bar using style rules for the properties: \_\_\_\_\_ and \_\_\_\_\_, relatively, using the values “hidden” and “scroll.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The overflow property is only effective for \_\_\_\_\_ elements that have a specified height.

A

The overflow property is only effective for block elements that have a specified \_\_\_\_\_.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Whitespace property: set to “\_\_\_\_\_” by default: Within this setting, at word breaks, text content will wrap to the next line within a block-level content box .

A

Whitespace property: set to “normal” by default: Within this setting, at word breaks, text content will \_\_\_\_\_ \_\_\_\_\_ the next line within a block-level content box.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

\_\_\_\_\_ \_\_\_\_\_ \_\_\_\_\_ with a “whitespace : nowrap ;” style rule. Under default settings, the text will then appear beyond the content box.

A

Disable text wrapping with a “\_\_\_\_\_” style rule. Under default settings, the text will then appear beyond the content box.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

\_\_\_\_\_ property: specifies how overflowing text is treated: The “clip” value \_\_\_\_\_ text characters regardless of word breaks; the “ellipsis” value replaces the \_\_\_\_\_ \_\_\_\_\_ \_\_\_\_\_ with an “…” indicating the text has overflowed.

A

Text-overflow property: specifies how overflowing text is \_\_\_\_\_: The “\_\_\_\_\_” value truncates text characters regardless of word breaks; the “\_\_\_\_\_” value replaces the final truncated letters with an “…” indicating the text has overflowed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Universal margin: 0px;

A
  • to best achieve a webpage layout
  • To override the browser’s default margin size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Box-sizing: border-box;

A
  • style rule includes the content boxes’ padding and border within each element’s total width and height
  • Means borders and padding are not additional to your specifications for each element
  • Offers better control for you
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Columnar percentage values

A

can be adjusted but their sum must always exactly equal 100%.

17
Q

Three-column layout

A
  • The traditional CSS method
  • Left sidebar column, main content column, right sidebar column
18
Q

Quotes should always be used when naming these:

A
  • when naming or declaring specific fonts, the writer should always use these
  • If specific font names are not enclosed in these, they will not be recognized by the browser.
19
Q

Generic font family declarations:

A
  • in a style rule font-family declaration, the preferred font name should appear before the generic font family preference separated by a “,”
  • Specified as a value to the font-family property
  • It is good practice to specify a generic font-family preference in every font-family declaration.
20
Q

Specifying a font:

A
  • specific fonts should always be enclosed in quotes
  • Multiple named/specific fonts should always proceed the naming of the generic font associated with them in a “,”-separated list.
  • More specific fonts or generic font types should be included in a “,”-separated list.
  • The “,”-separated list should be constructed in order of preference (the first font whether a specific, named or a generic font that is in the system and accepted by the system will be used).