problem setting background image on a link

J

Jeff

hi

asp.net 2.0

No background image is displayed on this link. my goal to have a image that
can be clicked on...
My ultimate goal is to embed image swapping using CSS, so I thought it was a
good idea to start with to have somehting displayed at all... nothing is
displayed..

<a id="Test1" runat="server" href="~/Pages/Test1.aspx"
style="background-image:url('~/Image/Original/Test1.png');" ></a>

in my webproject the images are stored in the \images\Original\ folder

why isn't anything displayed? what most I do to embed image swapping?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top