HTML and CSS Reference
In-Depth Information
.navBar a { text-decoration: none;
font-size: 1.2em;
}
.navBar a:link {color: #eeeeee; }
.navBar a:visited {color: #778899; }
.navBar a:hover {color: #3399CC; }
</style>
</head>
<body>
<h1>Trillium Media Design</h1>
<ul class="navBar">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.htm">Services</a></li>
</ul>
<p>Our professional staff takes pride in its working relationship
with our clients by offering personalized services that listen to
their needs, develop their target areas, and incorporate these
items into a well presented web site that works.
</p>
</body>
</html>
2. Fill in the Missing Code. This Web page should be configured so that the left naviga-
tion column has a light pastel background color and floats on the left side of the
browser window. Instead, the navigation displays with a white background color.
CSS properties and values, indicated by "_" (underscore), are missing. Fill in the
missing code to correct the error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Fill in the Missing</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body { background-color: #d5edb3;
color: #000066;
font-family: Verdana, Arial, sans-serif;
}
#leftcolumn { float: left;
width: 120px;
}
#rightcolumn { "_": "_";
background-color: #ffffff;
color: #000000;
padding: 20px;
}
</style>
</head>
Search WWH ::




Custom Search