Pubication: Difference between revisions

From CUSL
Jump to navigation Jump to search
HeYing (talk | contribs)
No edit summary
HeYing (talk | contribs)
No edit summary
Line 1: Line 1:
<body>
<style>
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


<ul>
li {
  <li><a href="#home">Home</a></li>
    float: left;
  <li><a href="#news">News</a></li>
}
  <li><a href="#contact">Contact</a></li>
  <li><a href="#about">About</a></li>
</ul>


</body>
a:link, a:visited {
    display: block;
    width: 120px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #98bf21;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    text-transform: uppercase;
}
 
a:hover, a:active {
    background-color: #7A991A;
}
</style>

Revision as of 10:08, 24 June 2015

<style> ul {

   list-style-type: none;
   margin: 0;
   padding: 0;
   overflow: hidden;

}

li {

   float: left;

}

a:link, a:visited {

   display: block;
   width: 120px;
   font-weight: bold;
   color: #FFFFFF;
   background-color: #98bf21;
   text-align: center;
   padding: 4px;
   text-decoration: none;
   text-transform: uppercase;

}

a:hover, a:active {

   background-color: #7A991A;

} </style>