Style Sheet for Week One
Template One
Note: When I used text-indent for the li property, it worked as expected in Internet Explorer, but in Netscape 7.0, it put the markers flush left and the items indented. Changed text-indent to margin-left, and that seems to work in both browsers.
BODY
{
background-image: url(poppytr.gif);
background-repeat: no-repeat;
background-position: 50% 5%;
background-color: gold;
font-family: Arial, Helvetica, Sans-Serif;
font-size: medium;
color: navy;
}
H1
{
color: green;
background-color: lemonchiffon;
text-align: center;
}
H2
{
color: lemonchiffon;
background-color: green;
text-align: center;
}
P
{
font-weight: bold;
}
li
{
text-transform: Capitalize;
margin-left: 200px;
color: red;
}
dl
{
font-weight: bolder;
color: red;
}
dd
{
font-style: italic;
color: green;
text-indent: 50px;
}
Back to Template One