how to use nested css in asp.net? [Resolved]

Posted by S.Preeti under ASP.NET on 10/31/2012 | Points: 10 | Views : 840 | Status : [Member] | Replies : 1
how to use nested css in asp.net?
plz post any example...




Responses

Posted by: Ranjeet_8 on: 10/31/2012 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
CSS

<style type="text/css">
p
{
color: Red;
}
.DVcontent
{
background-color: Black;
}
.DVcontent p
{
color: white;
}
</style>

Design page

<p>
To learn more about ASP.NET visit www.dotnetfunda.com
</p>
<div class="DVcontent">
<p>
To learn more about ASP.NET visit www.dotnetfunda.com
</p>
</div>


S.Preeti, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response