I have a problem that I cannot understand and cannot implement this type of control. Can someone explain to me (graphically) in a simple way the concept and how to implement a 3-dimensional array?
I have the following code:
<div class="togglearea">
<div class="toggle">
<h3>Titulo</h3>
</div>
</div>
<div class="togglearea">
<div class="toggle">Titulo 2</div>
</div>
I have tried (both by css and by javascript ) unsuccessfully that if the .togglearea
has a h3
, apply to the .togglearea
un margin-left
of 30px
. But I only get the change to be applied to h3 or to all .togglearea
I would like to know what is the difference, if any, between left
and margin left
or right
and margin right
in CSS
.
Could it be that the difference is that one is CSS
and the other is CSS3
?
How do I get the column size to be the same for all?
I have tried changing the attribute width
to a fixed value or using col-md-*
within <th>
but nothing changes, the size of the column is automatically adjusting to the content.
I want it to be uniform, that all the columns have the same size, for example 130px
. And that if I want to see the rest of the content I use the horizontal scroll.
This is the code I have so far:
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table class="table users table-hover">
<thead>
<tr>
<th>I.E.</th>
<th>Topografia</th>
<th></th>
<th>Esquema Básico Arquitectonico</th>
<th></th>
<th>Anteproyecto Arquitectonico</th>
<th></th>
<th>Proyecto Arquitectonico</th>
<th></th>
<th>Estudio Geotecnico</th>
<th></th>
<th>Diseño Estructural</th>
<th></th>
<th>Diseño Hidrosanitario</th>
<th></th>
<th>Diseño Electrico</th>
<th></th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
Hi, I see the need to obtain the key name of a Json in javascript, for example given this:
var myVar = { test: {typeA: '501', typeB : '502' } };
Get the name of 'test'