日期:2014-05-18  浏览次数:20684 次

在JSF中怎么把图片做为背景,上面显示文字?
如题,谢谢

------解决方案--------------------
up
------解决方案--------------------
<body background= "../images/admin/tu.jpg ">
在body里加上background
------解决方案--------------------
也可以
<h:panelGrid style= "background-image:url(your image file name); ">
<h:outputText value= "yourValue "/>
</h:panelGrid>