I have a commandlink which i can show a picture as a background image with css like:
Code: Select all
.button{
background-image: url(http://www.lefinnois.net/aqua/aqua1.jpg);
background-size:50px;
}
Code: Select all
<p:commandLink update="media" value="Kaydet"
action="#{productView.save}" styleClass="button">
</p:commandLink>
but i need a command link which has the image with all the width and height of the image.
am i clear?
if i add
Code: Select all
background-size:50px;
if i dont add i can see a part of image.
i try to add
Code: Select all
width:100px;
height:50px;
i have asked many times in this forum, with different accounts which i do not remember the mail addresses but none of them could receive a response.
hope you ask me to be more clear if you do not understand the question.
thanks for reading