Compare Revisions

Understanding Underlines

Change Revisions

Revision 202661:

Revision 202661 by CitizenK on

Revision 202662:

Revision 202662 by CitizenK on

Title:
Understanding Underlines
Understanding Underlines
Slug:
Understanding_Underlines
Understanding_Underlines
Tags:
css
css
Content:

Revision 202661
Revision 202662
tt18    <h3 name="How_Text_Gets_Decorated">
19      How Text Gets Decorated
20    </h3>
21    <p>
22      The key to understanding how to properly remove underlines 
 >is to understand how text decorations are applied in the first pl
 >ace. First, let's consider a paragraph with a <code>span</code> i
 >nside it.
23    </p>
24    <pre>
25&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;
26This is some text
27&lt;/span&gt;&lt;/p&gt;
28</pre>
29    <p>
30      Rather unsurprisingly, this will have the result shown in F
 >igure 1: underlined text.
31    </p>

Back to History