CSS - Week2, Homework
mystyle.css file
- BODY { background : #FFFFCC url(leaves2.gif) repeat-y;
- color : Navy;
- font : normal;
- font-family : "Times New Roman", Times, serif;
- font-weight : bold;
- font-size : medium;
- margin-left : 20%;}
- A {font-size : medium;
- color : Purple;}
- H1 {font-family : Arial, Helvetica, sans-serif;
- font-size : x-large;
- color : Blue;
- text-align : center;}
- LI {text-transform : capitalize;
- text-align : left;}
Homework Part 1
Embedded style sheet in Template a
- H3 {color: blue; text-decoration: none;}
- div {border: solid blue double; background-color: #FFCCCC;}
- h1 {border: solid medium; border-color: #FFCCCC; padding-top: 10px; padding-bottom: 10px;}
- p {margin-top: 20px}
- body {background : url(confetti.gif) repeat-y fixed;}
Homework Part 2
Embedded style sheet in Template b
- h2 {color: navy;}
- H3 {color: blue; text-decoration: none;}
- div {border: solid blue double;}
- h1 {border: solid medium; border-color: blue; padding-top: 10px; padding-bottom: 10px;
font-size: xx-large}
- p {margin-top: 20px}
- body {background : url(bachousepastel.jpg) no-repeat fixed center; background-color: #CCFFFF;}
- img {border: solid thick; border-color: blue; margin-left: 10%; padding: 20px;}
- table {border: dashed thin #FFFFCC; min-width: 100%;}
- ul {list-style-image: url(bullet2.gif); list-style-position: outside;}
- li {margin-bottom: 6px;}
- ul ul {list-style: disc inside; list-style-image: none;}
- ul ul li { background-color: #FFFFCC;margin-right: 40%; margin-bottom: 0px;}
- ul ol {list-style: lower-alpha; list-style-image: none;}
- ul ol li {font-style: italic; margin-bottom: 0px;}
Back to TOC