problem setting background image on a link

Discussion in 'ASP .Net' started by Jeff, Mar 17, 2009.

  1. Jeff

    Jeff Guest

    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?
     
    Jeff, Mar 17, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jean-Louis Crouzet

    Table td with background image & link & image

    Jean-Louis Crouzet, Jul 21, 2005, in forum: HTML
    Replies:
    4
    Views:
    1,661
    Jean-Louis Crouzet
    Jul 23, 2005
  2. jc
    Replies:
    3
    Views:
    1,771
  3. jc
    Replies:
    1
    Views:
    1,396
    Neredbojias
    Mar 19, 2008
  4. krishna

    problem setting focus to link/ image

    krishna, Dec 8, 2003, in forum: Javascript
    Replies:
    1
    Views:
    86
    David Dorward
    Dec 8, 2003
  5. Dj Frenzy
    Replies:
    3
    Views:
    335
    Robert
    Feb 10, 2004
Loading...

Share This Page