selector issue
selector issue
Hi,
I am a newby here. I have tried to use jquery statement to change the value of height, it failed many times. Not sure what else I need to do.
HTML markup:
<div style="height: auto;margin-top:15px;">
<div style="float:left;" class="PRbox">
<div class="tabsButtons">
<div class="PRboxTitle">Press Releases</div>
</div>
<div style="overflow-y:scroll;overflow-x: hidden;height:330px;"></div>
</div>
</div>
I wanted the selector ".PRbox" as parent to change the value of height for the inline style on the second div.
Jquery statement:
$("document").ready(function(e) {
$(".PHbox > div:nth-child(2)").css("height","");
});
Not sure why it didn't get any changes? Any helps would be much appreciated!
Beckmann.