I have googling a lot about this debate to move from table to div. What are your advices here to move or not. I have below my codes building layout using div. The issue I find with div for example below codes which I am referring to a template . MY issue is that on different resolution it looks different there is not like fix size. For eg. in some resolution its just nice and some it shrink. What is the best solution to ensure it stay in every resolution which I know if I would go back to table it will work but that is not advisable I guess.
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<img alt="Logo" src="img/logo20.png" />
<!-- theme selector starts -->
<div class="btn-group pull-right theme-container" >
<h5>User Name: my demo</h5>
Logout
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<!-- left menu starts -->
<div class="span2 main-menu-span">
<div class="well nav-collapse sidebar-nav">
<ul class="nav nav-tabs nav-stacked main-menu">
<li class="nav-header hidden-tablet">Vtst1</li>
<li><a class="ajax-link" href="test1.php"><i class="icon-home"></i> <span class="hidden-tablet">Test1</span></a></li>
<li><a class="ajax-link" href="test2.php"><i class="icon-eye-open"></i> <span class="hidden-tablet">Test2</span></a></li>
<li class="nav-header hidden-tablet">Admin</li>
<li><a class="ajax-link" href="addM.php"><i class="icon-home"></i> <span class="hidden-tablet">Master</span></a></li>
<li><a class="ajax-link" href="gridU.php"><i class="icon-eye-open"></i> <span class="hidden-tablet">UD</span></a></li>
</ul>
</div><!--/.well -->
</div>
<!--/span-->
<!-- left menu ends -->
<div id="content" class="span10">
<!-- content starts -->
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a> <span class="divider">/</span>
</li>
<li>
<a href="#">Forms</a>
</li>
</ul>
</div>
<div class="row-fluid ">
<div class="box span6">
<div class="box-header well" data-original-title>
<h2>Add Master</h2>
</div>
<div class="box-content">
<form class="form-horizontal">
<fieldset>
<div class="control-group">
<label class="control-label" for="selectError3">Master Type</label>
<div class="controls">
<select id="selectError3">
<option>T1</option>
<option>T2</option>
<option>T3</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputSuccess">Master Serial Number</label>
<div class="controls">
<input type="text" id="inputSuccess">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Save</button>
<button class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
<div class="box span6 ">
<div class="box-header well" data-original-title>
<h2>Active Masters</h2>
</div>
<div class="box-content">
<table class="table table-striped table-bordered datatable">
<thead>
<tr>
<th>No</th>
<th>Master Type</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td class="center">T1</td>
<td class="center">T111</td>
<td class="center">
<span class="label label-success">Active</span>
</td>
</tr>
<tr>
<td>1</td>
<td class="center">T1</td>
<td class="center">T112</td>
<td class="center">
<span class="label label-success">Active</span>
</td>
</tr>
</tbody>
</table>
</div>
</div><!--/span-->
</div><!--/row-->
<!-- content ends -->
</div><!--/#content.span10-->
</div><!--/fluid-row-->