Click here to Skip to main content
15,887,999 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends!

.formatting, formating a
{
..
..
}

.shading, shading ul
{
...
...
}


I know about CssClasses but Can Some one Explain that Why
formating a
and
shading ul
have been used here?
Posted

Thank you for your question. See the code bellow,
XML
<div class="formating">
   <a href="http://abdul-quader-mamun-managing-accdb.blogspot.com/">Mamun</a>
</div>
<br/>
<div class="shading">
  <ul>
    <li><a href="http://abdul-quader-mamun-managing-accdb.blogspot.com/">Mamun</a>
  </ul>
</div>


The above code, formatting a will be applied for a which under formating class. and shading ul will be applied for ul which under shading class.
Things work like above markup.

Thanks,
Mamun
 
Share this answer
 
v5
Comments
rashidfarooq 29-Nov-10 1:27am    
Thanks a lot Brother for answering my question so briefly. I have understood the concept very well.
That is a simple way to expand the features of a class to some type of childs (a or ul in this case)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900