Post: Quick HTML question
01-23-2013, 12:35 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Is there any other way to hyperlink HTML without using the traditional "<a>" tags?

I can't use <a> because it's conflicts with a lot of my css for some strange reason, so yeah looking for a quick yes/no answer.
(adsbygoogle = window.adsbygoogle || []).push({});
01-23-2013, 12:49 AM #2
Originally posted by Ownage
Look on how to code hyperlinks into CSS. Its a bit longer but would solve your problem :p


I have my hyperlink coded into my CSS that's the problem haha, the CSS for one part of the hyperlink screws it for the other.
01-23-2013, 08:09 AM #3
Jake
One Man Army
Originally posted by Sheldon
Is there any other way to hyperlink HTML without using the traditional "a" tags?

I can't use it because it's conflicts with a lot of my css for some strange reason, so yeah looking for a quick yes/no answer.


    <div onclick="location.href='/';" style="cursor:pointer;"></div>


You can use this on any element, it's not restricted to divs. And obviously you don't have to have the pointer cursor but I would assume that's preferable.

The following 2 users say thank you to Jake for this useful post:

Sheldon Cooper, Lovol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo