Link to home
Start Free TrialLog in
Avatar of sticar
sticar

asked on

ASP.NET Hyperlink Selection Area

Is there a way to create a rectangle arround a certain area of an ASP.NET page, when you hover over it, change color and when you click it go to a link - without hurting or covering the data underneath the rectangle?
Avatar of YZlat
YZlat
Flag of United States of America image

just use <div> or something
ASKER CERTIFIED SOLUTION
Avatar of Slimshaneey
Slimshaneey
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, the div goes in the body where you want the effect to appear...
Avatar of sticar
sticar

ASKER

I'll try it and let you know.... Thanks!
Avatar of sticar

ASKER

Ok... I do have a style sheet....but... This is a template so it's an .ascx page and I cannot just put in class="menu" or whatever one I want to use and I don't believe I can put in some javascript... ??

<TD><div id="Div0" class="menu"><A href="home.aspx">
<asp:image id="menu" ImageUrl="graphics\person.gif" runat="server" ImageAlign="AbsMiddle"></asp:image><FONT color="#355a98" size="4">
MyTextHere</A></div></FONT></TD>
Avatar of sticar

ASKER

Nevermind... I think I'm getting it from here... It just likes to keep rearranging and adding extra tags in there when I add something...