File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

commandLink/Button image src via CSS

nimo frey
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know, h:commandLink has not the property image as h:commandButton has.

Well look at this (this works):

now, I want to set up my Image via CSS (this does not work):

You see, I only wanna set the image for my link via CSS, but it does NOT work. All Paths are correct!

When I do this, then my font for my link-text changes:

But I cannot set my image via CSS.

I want to set the image of my commandLink or commandButton via CSS! How can I do that?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic