Horizontal Rule with image : hr : Basic Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Basic Tags » hr »

 

Horizontal Rule with image


 

<!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">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
* .hr {
  height: 40px;
  width: 200px;
  margin: auto auto;
  border: 0;
  background: url("http://www.navioo.com/style/logo.png"repeat-x left center;
  line-height: 1px;
  font-size: 1px;
}

* .hr hr {
  display: none;
}
</style>
</head>
<body>
    <div class="hr"><hr /></div> 

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Basic Tags
» hr