gecko/layout/html/tests/block/bugs/10458.html

57 lines
923 B
HTML

<HTML>
<HEAD>
<TITLE>Underline Test</TITLE>
</HEAD>
<BODY>
<CENTER>
<BR>
<B>This below code hides underline on the hyperlinked text:</B>
<BR>
<B>Code:</B>
<NOBR>
<FONT COLOR="RED">
&lt;A HREF="http://www.mozilla.org/" STYLE="text-decoration:none;"&gt;Go to Mozilla Homepage&lt;/A&gt;
</FONT>
</NOBR>
<BR>
<B>Result:</B>
<NOBR>
<A HREF="http://www.mozilla.org/" STYLE="text-decoration:none;">Go to Mozilla Homepage</A>
</NOBR>
<BR>
<BR>
<BR>
<B>However, the following code does not work on mozilla 5.0 (M8):</B>
<BR>
<B>Code:</B>
<NOBR>
<FONT COLOR="RED">
&lt;A HREF="http://www.mozilla.org/"&gt;&lt;SPAN STYLE="text-decoration:none;"&gt;Go to Mozilla Homepage&lt;/SPAN&gt;&lt;/A&gt;
</FONT>
</NOBR>
<BR>
<B>Result:</B>
<NOBR>
<FONT COLOR="GOLD">
<A HREF="http://www.mozilla.org/"><SPAN STYLE="text-decoration:none;">Go to Mozilla Homepage</SPAN></A>
</FONT>
</NOBR>
<BR>
</CENTER>
</BODY>
</HTML>