Jobin Jobin - 1 year ago 67
CSS Question

how to get the container inside a div

I have used the below code to get the container for the

<div id="dvContainer" class="page-container">
<header class="clearfix">

I get the container using below code

var container = '#dvContainer header';

How can I get the container which is a div

<div id="dvContainer">
<div class="content-wrapper">

here I want to get the container

how do i get this?

Answer Source

I think you need this

var container = '#dvContainer .content-wrapper';
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download