Hi Pradeep,

   Your div has an ID of "main" but you are targeting divs with CLASS "main"
in your CSS.    You can get the background color by using div#main instead
of div.main or adding the class "main" to your div.

~Arne

On Mon, Feb 25, 2008 at 10:46 PM, pradeep <[EMAIL PROTECTED]> wrote:

>
> I am using style tag to apply some style. But those are not getting
> applied. In the firebug i am able to see the style tag in the HTML.
>
> <style type="text/css">
> div.main{
> background-color: #0FF0FF;
> }
> div.selector{
> border: solid 1px black;
> }
> </style>
> <div id="main">
> Hello</div>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to