Say my code is as follows:
<ul>
<li><img /></li>
<li>
<ul>
<li><img /></li>
</ul>
</li>
</ul>
I'm trying to set a default size for the first img
tag, but not affect the second one. everything I do affects the other one as well. Currently I have tried:
$('ul#gallery > li').find('img').css('width','650px');
$('ul#gallery > li img').css('width','650px');
among others, but nothing works.