Quiz 5
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
Use the ________ property along with the left, right and/or top property to precisely configure the position of an element.
position:absolute;
Select the example below that could be used to clear a right float.
clear: right;
Set list-style-type to the value ________ to hide the display of the list markers on an ordered list.
none
choose the example below of a descendant selector that configures the anchor tags within the element assigned to the an id named special.
#special a
The ________ is the area between the content and the border.
padding
When configuring the background color of an element, the background color is applied to both the content and ________ areas.
padding
The box model consists of a content area surrounded by:
padding, border, and margin
The ________ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
hover
When using the box model, the ________ is always transparent.
margin
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
margin:30px 0 0 150px;
Choose the example below of a descendent selector that configures the anchor tags with the nav element.
nav a
Use an id to configure a style when:
the style will apply to only one element on a page.
To apply a style to one or more elements on a web page, configure a CSS ________.
class
The default value for the border property for an element is:
0 pixels
________ flow displays the elements on the page in the order they appear in the web page source code.
Normal
Use ________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.
fixed
If an element is configured with ________ the other content on the page will appear to its left.
float:right;
Use the ________ property to configure an image to use as a bullet point in an unordered list.
list-style-image
Use ________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
relative