Re: CSS: background image
- From: "Barbara de Zoete" <trashbin@xxxxxxxxxxxxxxx>
- Date: Sat, 18 Mar 2006 10:08:39 +0100
On Sat, 18 Mar 2006 09:49:53 +0100, R.A.M. <r_ahimsa_m@xxxxxxxxxxxxxx> 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 |
.
- References:
- CSS: background image
- From: R . A . M .
- CSS: background image
- Prev by Date: Re: CSS: background image
- Next by Date: Re: Play a sound when clicking a hyperlink?
- Previous by thread: Re: CSS: background image
- Next by thread: Re: CSS: background image
- Index(es):