Jump to content

FamilySearch HTML Tutorial Answers: Difference between revisions

m
mNo edit summary
Line 405: Line 405:
====Exercises====
====Exercises====
<div style="border:10px solid lightgreen; padding:5px; ">
<div style="border:10px solid lightgreen; padding:5px; ">
*Load our lorem ipsum paragraphs twice with the first one with a background color of cornsilk and the second one with a color crimson, both with a padding of 20 pixels, but using div tags instead of paragraph tags:
*Load our lorem ipsum paragraphs twice with the first one with a background color of moccasin and the second one with a color crimson, both with a padding of 20 pixels, but using div tags instead of paragraph tags:


<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><div style="background-color:moccasin; padding:20px; "></nowiki></div>
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><div style="background-color:moccasin; padding:20px; "></nowiki></div>