Text decoration on scroll to top javascript code -
Text decoration on scroll to top javascript code -
i have link @ bottom of page
<a href="javascript:scroll(0,0)"> online marketing </a>
to scroll top of page makes text bluish , underlined how add together code remove text deceration it?
i tried a href="javascript:scroll(0,0)" style="text-decoration: none; color:#ffffff;">
scroll top stopped working way round remove text deceration using code on specific element?
your code looks right...which odd. perhaps seek assigning scroll button css class.
in style sheet add
a.standardtextlink:link, a.standardtextlink:active, a.standardtextlink:visited {text-decoration:none;color:#fff;}
then in html
<a href="javascript:scroll(0,0)" class="standardtextlink">scroll top</a>
hopefully that'll sort it.
c
javascript scroll text-decorations
Comments
Post a Comment