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
The above will select these ids from the following HTML:
c and dif you want all descendents selected such as
b, c, and dfrom the above HTML then use