Page 125 - DCAP408_WEB_PROGRAMMING
P. 125
Unit 4: Cascading Style Sheets
a:visited {color: #ff0000} Notes
a:active {color: #a05050}
a.case1:link {background: green}
p:first-line {margin-left: 25px }
div.foo:first-line {
font-weight: bold;
margin-left: 30px}
div:first-letter {
font-size: x-large;
color: #ffffff}
ul ul li {
font-size: x-large;
font-decoration: italic}
h2 em {font-weight: 900}
h2.ex1 {
color: green; /* This type of heading MUST be Green and Large! */
line-height: 50px;
font-size: 40px}
.funkyclass {
font: 36pt/40pt courier;
font-variant: small-caps;
border: thick dashed blue}
#tagid1 {
padding: 20px;
border: 20px groove #ffffff}
.class1, #tagid2 {font-family: ‘comic sans ms’, fantasy; color: rgb
(100%,100%,0%)}
h1, h2, div.class5, blockquote {background: #000080}
p.special {
font: 12pt/14pt sans-serif;
margin: 5px 0px 2px 25px;
border: medium dashed #ff0000;
background: white url (http://www.foo.com/image.gif) repeat-
x fixed top right}
blockquote {
margin-left: 2cm;
color: #00ff00}
.part1 {
font-size: xx-large;
color: #808000}
LOVELY PROFESSIONAL UNIVERSITY 119