0

如何删除 PrimeFacesp:graphicImage组件周围的填充?

这是我的代码:

<h:commandLink action="distributer/distributersList.xhtml" ajax="false">
    <p:graphicImage  value="/resources/images/image.jpg"
                     style="align:center" width="250" height="327"/>
</h:commandLink>

我尝试使用以下 CSS,它删除了边框,但图像周围的灰色填充仍然存在:

.ui-commandlink{
    border:none;
    padding:0px;
    border-spacing:0px;
}

提前致谢

4

0 回答 0