Good day.
I would like to know if it is possible to apply styles to a listitem
that is nested in a div with javascript. On my page there is already alot of divs with listitems but i only want to apply a style to that specific listitems.
The only reason i want to apply styles to the listitem using javascrip is because there is viewing issues with IE 7 that doesnt want to accept css styles inside the div.
My HTML is:
<ol>
<li>
GENERAL PRINCIPLES UNDERLYING THE REPRESENTIVE COUNCIL OF LEARNERS
<div id = "divv">
<ol>
<li>....</li>
<li>....</li>
<li>....</li>
<li>....</li>
<li>....</li>
</ol>
</div>
</li>
<ol>
Thank you
I’ve created a JSFiddle that demonstrate CSS styling of the inner list
http://jsfiddle.net/adrianjmartin/9V8tR