Difference between revisions of "Template:Manchester/CSS"

(first draft)
 
m
Line 1: Line 1:
 +
<!DOCTYPE html>
 
<html>
 
<html>
<style type="text/css">
+
<head>
h2 {
+
<style>
color: red;
+
ul {
 +
    list-style-type: none;
 +
    margin: 0;
 +
    padding: 0;
 +
    overflow: hidden;
 +
    background-color: #333;
 +
}
 +
 
 +
li {
 +
    float: left;
 +
}
 +
 
 +
li a {
 +
    display: block;
 +
    color: white;
 +
    text-align: center;
 +
    padding: 14px 16px;
 +
    text-decoration: none;
 +
}
 +
 
 +
li a:hover {
 +
    background-color: #111;
 
}
 
}
 
</style>
 
</style>
 +
</head>
 +
<body>
 +
 +
<ul>
 +
  <li><a class="active" href="#home">Home</a></li>
 +
  <li><a href="#news">News</a></li>
 +
  <li><a href="#contact">Contact</a></li>
 +
  <li><a href="#about">About</a></li>
 +
</ul>
 +
 +
</body>
 
</html>
 
</html>

Revision as of 11:38, 14 June 2016

<!DOCTYPE html>