Using Cascading Style Sheets (CSS) Technology Flashcards

1
Q

CSS Positioning Scheme: Static

A

The normal, or default, position of the element within a page.

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

CSS Positioning Scheme: Relative

A

The element is relative to others on a page, usually because of the top, bottom, left and right properties.

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

CSS Positioning Scheme: Absolute

A

The element appears to float above the document and can be positioned as needed
It is completely removed from the rest of the page flow

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

CSS Positioning Scheme: Fixed

A

The element remains in the same position when the page is scrolled

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

CSS Positioning Scheme: Inherit

A

The element inherits its position from the parent element.

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

The CSS Box Model: Content

A

The content within an HTML element

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

The CSS Box Model: Padding

A

Surrounds the content

Defines the space between the content and the border of an element

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

The CSS Box Model: Border

A

Surrounds the padding

Defines a border, such as a line, around an element

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

The CSS Box Model: Margin

A

The outermost box

Defines only the amount of space between the border and the surrounding elements in the HTML document

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

Properties Format: Padding \ Padding:[? ? ? ?]

A

padding:[top right bottom left]

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

Properties Format: Border \ border:[? ? ? ]

A

border:[width style color]

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

Properties Format: Margin \ margin:[? ? ? ?]

A

margin:[top right bottom left]

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

class selector

A

A selector that specifies CSS styles for a group of elements.

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

CSS rule

A

In a style sheet, a format instruction that consists of a specified selector and the properties and values applied to it.

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

document flow

A

In CSS, the arrangement of content elements on a page and how the space is used.

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

id selector

A

A selector that specifies CSS styles for one unique element.

17
Q

Multipurpose Internet Mail Extensions (MIME)

A

Defines the file type, such as text or video, and the extension, such as css or mp4, for a user agent or browser.

18
Q

property

A

A descriptive characteristic of an object (such as color, width or height) that the developer stipulates in the creation of the object.

19
Q

Fixed-width layout

A

This layout ensures that the text, images and layout will not vary from browser to browser. The problem with using a fixed-width layout is that the elements may not render as expected when users change the size of their browser windows.

20
Q

Liquid layout

A

With this layout, the size of an element is flexible and will change dynamically depending on the size of the browser window. For example, you can specify in the CSS width property that Element A will occupy 35 percent of the screen and Element B will occupy the remaining 65 percent. If the user resizes the browser window, the elements will resize correspondingly.