I have two divs, when I hide the first one I need the second to go up to her place, but it does not move, how can I make it stay in place of the first div,
Followthecode:
<!DOCTYPEhtml><html><head><metacharset="UTF-8">
<title>Módulos</title>
<style>
table {
}
table-striped > tbody > tr:nth-child(odd) > th {
background-color: red;
}
table-striped > tbody > tr:nth-child(odd) > td {
background-color: white;
}
td {
height: 40px;
}
th {
color: white;
background-color: #F44336;
height: 40px;
padding: 4px;
}
</style>
</head>
<body>
<div id="divconsulta" class="container-fluid" style="margin-left: -29px; margin-right: -29px">
<!--Striped Rows-->
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card-panel" style="margin-top: -29px; ">
<div class="body table-responsive">
<table id="grid_Modulos" class="table-striped"></table>
</div>
</div>
</div>
</div>
</div>
<form class="form" id="wizard_with_validation" method="POST">
<div id="divcadastro" class="container-fluid" style="margin-left: -29px; margin-right: -29px;margin-top:0px;visibility:hidden">
<!--Striped Rows-->
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card-panel">
<div class="card" style="background: rgba(245, 245, 245, 0.6)">
<div class="body">
<div class="row">
<input id="id_id" name="id_id" type="hidden" class="form-control input-style" autofocus required>
<label class="label-margin-top">Descrição*</label>
<input id="id_nome" name="id_nome" type="text" class="form-control input-style input-casesensitive" autofocus required>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
</html>