html - How to change value of class in another class? -


here's code:

<div id="one">   <div id="two">     <div class="cell_pad">     </div>   </div> </div> 

how tell css, you have change value of class "cell_pad" in id="one"?

.cell_pad repeated few times in code, i've change one occurence of class.

i'm using sparky framework joomla.

i've tried in stylesheet, doesn't effect:

#one > .cell_pad{} 

you should use

#one .cell_pad{}  

that selects .cell_pad elements inside #one elements, sould take here http://www.w3schools.com/cssref/css_selectors.asp


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -