DIV font-size:.9em; : div font « Tags « HTML / CSS






DIV font-size:.9em;

     
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<style type='text/css'>
#footer
{
  background:#71A70B;
  clear:both;
  color:#fff;
  font-size:.9em;
  height:1.8em;
  line-height:1.8em;
  padding:0;
  text-align:center;
}

#footer a
{
  background:inherit;
  color:#fff;
  text-decoration:none;
}

#footer a:hover
{
  text-decoration:underline;
}

#footer .left
{
  margin:0 0 0 8px;

}

#footer .right
{
  
  margin:0 8px 0 0;
}
</style>
<title></title>
</head>
<body>
 
   <div id="footer">
     <span class="left">&copy; 2006 Your Site</span>

     <span class="right">Designed by <a href="">Your Name</a>| <a href="/">Web Hosting</a>
     </span>
   </div>


</body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.DIV font-family: sans-serif;
2.div font: 9px monospace;
3.This font is 24 pixels tall and this div is 3 ems tall
4.Div font-size:1px;
5.Div font-family: Tahoma, sans-serif;
6.Div font-size: 11px;
7.Div font-family: Arial, Helvetica, sans-serif;
8.Div font-size: 12px;
9.Div font-family: Arial;
10.Div font-weight: bold;
11.DIV font-size: 0.9em;