Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Put an Image behind every link (Solved)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23972
    egalegal
    Member

    hi,
    i’m asking if its possible to put automatically an image (link arrow) behind every link in an document. (without writing the whole time <img src …>)
    can i realise something like that with css, or should i use JS?

    thanks for any kind of answers

    #53215
    egalegal
    Member

    ok, sorry i don’t mean as an backgroundimage, but after every link.
    like this:

    http://www.someadress.com (picture)

    thanks

    #53217
    iopet
    Member
    Code:
    a {
    background: url(“link.png”) no-repeat 100% 50%;
    padding-right: 15px; /* the width of your image */
    }
    #53219
    egalegal
    Member

    wow, thanks a lot iopet
    exactly what i’m looking for.
    problem solved

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.