Lets say I have the following HTML
<div id="div1"> .... <span class="innercontents">...</span> .... </div> Can I select just the child of the parent ID?
Could I do something like
#div1 span { ... } Thanks for any help.
Sorry for any confusion. I should have been more clear. In the above example I would like to just select the tags that fall under that specific
#div1 > .innercontents#div1 > .innercontentsstackoverflow.com/questions/1182189/…