我有一张尺寸为 250 x 25 的图片
我想用 repeat-x 和 repeat-y 在页面背景中显示
但下面是行不通的
<h:body styel="background: url(/Images/logoback.jpg) repeat-x repeat- y >
最佳答案
错误太多
style
而不是styel
- 不关闭
"
双引号 - 如果您想水平和垂直重复,只需在
background-image
之后使用repeat
.. 始终在每个
propery: value;
的末尾使用分号 试试这个
关于html - 如何在h :body tag with CSS in jsf中显示背景图片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13902691/