Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
m (→Exercises)  | 
				m (→Exercises)  | 
				||
| Line 397: | Line 397: | ||
1. What is the coding to install our lorem ipsum paragraph in your sandbox with a background color of light green with white text and padding on the top and bottom of 20 pixels.  | 1. What is the coding to install our lorem ipsum paragraph in your sandbox with a background color of light green with white text and padding on the top and bottom of 20 pixels.  | ||
<br>  | <br>  | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><p style="background-color:lightgreen; color:white; padding-top:20px; padding-bottom:20px">Lorem ipsum .....</p  | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><p style="</nowiki><font color="red">background-color:lightgreen; color:white; padding-top:20px; padding-bottom:20px</font color>">Lorem ipsum .....</p></div><br>  | ||
----  | ----  | ||
2. Load our lorem ipsum paragraph twice with no background color and no text color but with a <font color="red">padding-bottom</font color> of the first paragraph of 100px.  What happens to the space between the paragraphs?<br>  | 2. Load our lorem ipsum paragraph twice with no background color and no text color but with a <font color="red">padding-bottom</font color> of the first paragraph of 100px.  What happens to the space between the paragraphs?<br>  | ||