Posted by Barbara de Zoete on 03/18/06 11:08
On Sat, 18 Mar 2006 09:49:53 +0100, R.A.M. <r_ahimsa_m@poczta.onet.pl>
wrote:
> I want to have background image on some pages of a website I am
> creating. I added a ass to Styles.css:
> .withbackground
> {
> background-image: "Images/DotNET_90x70_light.jpeg"
> }
> Could you explain me please why it doesn't work and how to do it
> correctly?
When something doesn't work as you expected it to, validate:
<URL:http://jigsaw.w3.org/css-validator/validator?text=.withbackground%0D%0A%7B%0D%0A++background-image%3A+%22Images%2FDotNET_90x70_light.jpeg%22%0D%0A%7D&warning=0&profile=css21&usermedium=screen>
Then look up how you should have done it properly:
<URL:http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-image>
--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
[Back to original message]
|