View Single Post
Old 05-28-2013, 11:49 AM   #13
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,370
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by djprescott View Post
'See example texts on 119' is the underlined text.

<span class="Hyperlinks" style="font-size:1em;">See Example texts on</span> <span class="Hyperlinks" style="font-size:1em;">119</span></a></p>


and the Hyperlinks CSS it refers to is:

span.Hyperlinks {
font-family : "Sabon MT Std", serif;
font-weight : normal;
font-style : normal;
font-size : 0.92em;
text-decoration : none;
font-variant : normal;
color : #000000;}
You have a space in between the two identical spans which may be causing it to put the underline from the <a> tag. Remove the duplicate span like this:

<a href="..."><span class="Hyperlinks" style="font-size:1em;">See Example texts on 119</span></a></p>

Personally I don't like putting an extra span inside of another tag when you can just apply the style to the tag itself, like this:

<a href="..." class="Hyperlinks" style="font-size:1em;">See Example texts on 119</a></p>

or even more compact - just style the <a> tag itself in the css:

a {font-family : "Sabon MT Std", serif;
font-weight : normal;
font-style : normal;
font-size : 0.92em; 1em;
text-decoration : none;
font-variant : normal;
color : #000000; inherit}

<a href="...">See Example texts on 119</a></p>
Turtle91 is offline   Reply With Quote