在JSF中如何把图片做为背景,上面显示文字
在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>
如题,谢谢
------解决方案--------------------
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>