hi all.
i was wondering if there was a way to select the child of a parent id...
E.G
<div id="leftcontent2">
<div id="NavHeading">Latest News</div>
<div id="NewsDate">> 01.02.2007</div>
<div id="NewsHeading">hits double figures</div>
<div class="NewsContent">Lorem ipsum dolor sit amet,consectetuer adipiscing elit. Maecenas quis nisi. Mauris tortor orci.</div>
</div>
is it possible to access the navheading and newsdate of the preceeding leftcontent2 id?
something like:
div#leftcontent2 > #NavHeading {
some css stuff here;
more css stuff here;
}
or would using a class be better...?