Spacing : Box model Basics : Box Model HTML CSS TUTORIALS


HTML CSS TUTORIALS » Box Model » Box model Basics »

 

Spacing


 
<!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">
* .elegant {
  margin-left: 40px;
  margin-right: 80px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top: 25px;
  padding-bottom: 25px;
  letter-spacing: 1px;
  word-spacing: 2px;
  line-height: 1.7em;
  text-indent: 40px;
  text-align: justify;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
</style>
</head>
<body>
<p>indentation, margins, padding, letter spacing, word spacing, text justification, or line spacing.</p> 

<p class="elegant">this is a test. this is a test. this is a test. this is a test. 
this is a test. this is a test. this is a test. this is a test. </p> 

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Box Model
» Box model Basics