--in css

*.backgr*

{

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

}

--In aspx

<body style="margin: 0px" class=*"backgr"*>

css class name should start with *"."*

--
Thanks

with Regards
Revanth Arji

You have to grow from the inside out. None can teach you, none can make you
spiritual. There is no other teacher but your own soul.

                                                         -Swami Vivekananda



On Mon, Jul 27, 2009 at 11:46 AM, Vikas K M <[email protected]> wrote:

> 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