Use different border style to highlight : border style : Box Model HTML CSS TUTORIALS


HTML CSS TUTORIALS » Box Model » border style »

 

Use different border style to highlight


 


<!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>A Web page</title>
<style type="text/css" media="Screen">
body {
  background-color: black;
  font-family: Georgia, serif;
}

{
  font-family: Georgia, serif;
  font-size: 13px;
  color: white;
  padding-left: 25px;
}
.large {
  font-size: 130%;
  border: 1px dotted white;
  padding: 5px;
}

.small {
  font-size: 90%;
  border: 2px dashed #555;
  padding: 10px;
}

</style>
</head>
<body>
    <p>Another paragraph, with <span class="large"><em>large italic</em></span> and <span class="small"><strong>small bold</strong></span> text, also in Verdana.</p>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Box Model
» border style