CSS Sololearn
Add the padding values, so that it has 10 pixels to the top, 15 pixels to the bottom, 5 pixels to the right, 10 pixels to the left: padding: __px _px __px 10px;
Answer: 10 5 15
When the text needs more space than the dimensions of the box, the browser shows scrolls for the overflow property with the values of "scroll" and:
Answer: auto
From the three types of styling, which one is the most useful in terms of website optimization?
Answer: external
When the "float" property is used with the values of "left" or "right", anything else that lives in the containing element will:
Answer: flow around
How do you make a list not display bullet points?
Answer: list-stye-type: none
What is the correct CSS syntax for making all p elements bold?
Answer: p { font-weight:bold; }
Fill in the blanks: body { background-image:url("sample.png"); background- ______ :repeat-x; } a:hover { text- ________ :underline; color: #000000; __________ : crosshair; }
Answer: repeat decoration cursor
Assign width of 500px to the "text" element and enable fixed scrollbars: #text { overflow: _____ ; height: 200px; width: _____ : }
Answer: scroll 500px
If you give a negative value to the "top" property, in which direction will the box be moved?
Answer: up
The Style definition rule consists of selector, property and:
Answer: value