Don't you have a typo? .Backgroun is .Background


Juan M. Oviedo



Date: Mon, 27 Jul 2009 15:49:38 +0500
Subject: [DotNetDevelopment] Re: Background image in CSS
From: [email protected]
To: [email protected]

In The body  give Id = "Backgroun" instead of  class="Backgroun";


On Sun, Jul 26, 2009 at 9:32 AM, Vikas K M <[email protected]> wrote:

Hi,
 

I am trying to include a back ground image in my .aspx page. I am writing css 
for background image and including it in my “source” as below

--css
.Backgroun

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


      background-repeat:no-repeat;


      

}
 
--in aspx source
<body style="margin: 0px" class="Backgroun">


    <form id="form1" runat="server">


    <div>…………………………..


Please help. I have registered the css file in my aspx page. 


-- 
Regards,
Vikas


Reply via email to