Maybe because you´re not following your app directory structure.

For example: with your aspx file is at the root directory and your css file
is at a css directory the right sintax will be like this:

background-image:url(../images/light-blue-wallpaper.jpg);

Send us your directory structure!

-Rodney


2009/7/27 Vikas K M <[email protected]>

> Hi,
>
> I am trying to load an image as a background for an aspx page. I have
> written this in css and included in the aspx page like this
>
> --in css
>
> backgr
>
> {
>
>       background-image:url(images/light-blue-wallpaper.jpg);
>
> }
>
> --In aspx
>
> <body style="margin: 0px" class=backgr>
>
> *But still the image is not coming in the background when I run the
> application. Please help.*
>
> Regards,
>
> Vikas
>
>
>
>
>
>
> --
> Regards,
> Vikas
>

Reply via email to