<div class="container">
<h2>This heading has double lines under and over it</h2>
<h4>This sub-heading has a dashed under line.</h4>
<p class="text">
This paragraph of text has all dotted under lines.<span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat magni soluta repudiandae libero saepe. Perferendis, accusamus, iste aliquid hic eaque totam amet est illo vel ipsa corrupti ipsam dolorum harum!</span>
</p>
<p class="strike">This line of text is has a wavy line through it.</p>
</div>
body {
background-color: #F5F5F5;
color: #555;
font-size: 2em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
max-width: 700px;
padding: 30px;
margin: 50px auto;
}
h2 {
-moz-text-decoration-line: underline overline;
text-decoration-line: underline overline;
-moz-text-decoration-style: double;
-webkit-text-decoration-style: double;
text-decoration-style: double;
}
h4 {
-moz-text-decoration-line: underline;
text-decoration-line: underline;
-moz-text-decoration-style: dashed;
-webkit-text-decoration-style: dashed;
text-decoration-style: dashed;
}
.text {
-moz-text-decoration-line: underline;
text-decoration-line: underline;
-moz-text-decoration-style: dotted;
-webkit-text-decoration-style: dotted;
text-decoration-style: dotted;
}
.text span {
color: #888;
}
.strike {
-moz-text-decoration-line: line-through;
text-decoration-line: line-through;
-moz-text-decoration-style: wavy;
-webkit-text-decoration-style: wavy;
text-decoration-style: wavy;
}