How to add url link in css file?
Is it possible to add url link inside of css code? I searched all
websites, but I couldn't find correct answer, I'm looking for something
like this following example:
<style type="text/css">
.example a:link {
text-decoration: none;
href="http://www.yourdomain.com/";
}
</style>
and html code something like this:
<div class="example"> Text for url hyperlink </div>
Is it possible like this? cause I can't use usual html code in my page,
cause of some reason of codes, I have to use another way to insert url to
texts and images files.
I mean, I can't use like this following way, I need another way.
<a href="http://www.yourdomain.com/">Text</a>
Thanks in advance.
No comments:
Post a Comment