IES: CSS-deck 9 Flashcards
\_\_\_\_\_
property: specifies a content box- positioned at the containing element side boundary: typically, flows text around these content boxes.
Float property: specifies a content box- positioned at the \_\_\_\_\_
\_\_\_\_\_
side boundary: typically, \_\_\_\_\_
\_\_\_\_\_
around these content boxes.
\_\_\_\_\_
property: explicitly prevent text from flowing alongside using the CSS “\_\_\_\_\_
” property- specifying “left,” “right,” or “both” (text will begin below).
Float property: explicitly prevent text from \_\_\_\_\_
\_\_\_\_\_
using the CSS “clear” property- specifying “left,” “right,” or “both” (text will begin below).
Floated content boxes are not removed from the \_\_\_\_\_
\_\_\_\_\_
\_\_\_\_\_
: their original position gets filled with surrounding content.
Floated content boxes are not removed from the normal flow layout: their \_\_\_\_\_
\_\_\_\_\_
gets filled with surrounding content.
With \_\_\_\_\_
, any element can be floated.
With CSS, any \_\_\_\_\_
can be floated.
The \_\_\_\_\_
property specifies how content that exceeds its content boundaries will be handled.
The Overflow property specifies how content that exceeds its content boundaries will \_\_\_\_\_
\_\_\_\_\_
.
Surplus content is generally \_\_\_\_\_
by default: the CSS \_\_\_\_\_
property specifies handling behaviors using the keywords- “hidden” and “scroll.”
Overflow content is generally \_\_\_\_\_
by default: the CSS overflow property specifies handling behaviors using the keywords- “\_\_\_\_\_
” and “\_\_\_\_\_
.”
Overflow: using the keyword “\_\_\_\_\_
,” overflowing content will be invisible.
Overflow: using the keyword “hidden,” overflowing content will be \_\_\_\_\_
.
Overflow: Using the keyword “\_\_\_\_\_
,” overflowing content can be viewed by the user using horizontal and vertical scrollbars provided by the browser.
Overflow: Using the keyword “scroll,” overflowing content can be viewed by the user using \_\_\_\_\_
and \_\_\_\_\_
\_\_\_\_\_
provided by the browser.
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 “\_\_\_\_\_
.”
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.”
The overflow property is only effective for \_\_\_\_\_
elements that have a specified height.
The overflow property is only effective for block elements that have a specified \_\_\_\_\_
.
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 .
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.
\_\_\_\_\_
\_\_\_\_\_
\_\_\_\_\_
with a “whitespace : nowrap ;” style rule. Under default settings, the text will then appear beyond the content box.
Disable text wrapping with a “\_\_\_\_\_
” style rule. Under default settings, the text will then appear beyond the content box.
\_\_\_\_\_
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.
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.
Universal margin: 0px;
- to best achieve a webpage layout
- To override the browser’s default margin size
Box-sizing: border-box;
- 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