You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by shree <ma...@satyam.com> on 2007/05/22 11:25:18 UTC

problem with using style sheets in faces frame work.


hi all,
i am using jsf frame work.
i am trying to apply background-image for a page using style sheets.
my code for style class is like below.

.bg{
background-image:url(image.jpg);
}

This is not getting applied to my jsf page.
but it is working fine for an html page.

how can i solve this problem.
some body please help me.

thanks in advace,
shree.
 
-- 
View this message in context: http://www.nabble.com/problem-with-using-style-sheets-in-faces-frame-work.-tf3795181.html#a10734373
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: problem with using style sheets in faces frame work.

Posted by shree <ma...@satyam.com>.

my images r in different folder.
i hv provided the correct path only...like below

background-image:url(/resources/images/image.jpg);

with quotations also it is not getting applied.

-- 
View this message in context: http://www.nabble.com/problem-with-using-style-sheets-in-faces-frame-work.-tf3795181.html#a10735085
Sent from the MyFaces - Users mailing list archive at Nabble.com.