0

Is there a way to use css to make a hyperlink? Example:

<style>
.foo {
  onclick:url(http://google.com);}
</style>

<div class="foo">
Test!
</div>

--

My problem is that I'm unable edit/use html, but I do have complete access to the css for a certain web form. I want to have a hyperlink in the form, but since I can't edit the html, I need an alternative...

Matt Busche
  • 14,216
  • 5
  • 36
  • 61
Steve
  • 111
  • 2
  • 6

0 Answers0