struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Law <andy....@roslin.ed.ac.uk>
Subject Re: CSS background images, struts2
Date Wed, 05 Aug 2009 08:37:55 GMT


Haroon Rafique wrote:
> 
> If your file structure is somewhat like:
> 
> styles/base.css
> images/image.gif
> 
> then you can simply change your background-image directive to say:
> background-image: url('../images/image.gif');
> 
> 


and



Musachy Barroso wrote:
> 
> assuming your dir structure is like:
> 
> css
> ...main.css
> images
> ....someimage.jpg
> 
> you can use this in your css: url(../images/someimagejpg)
> 
> 


Now I'm at my desk, I can see that this does indeed work. Thanks for the
help guys.

Later,

Andy
-- 
View this message in context: http://www.nabble.com/CSS-background-images%2C-struts2-tp24811929p24822960.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message