html - Bootstrap Table Width Issue -


i have problem regarding width in bootstrap table, goes way side of website, screenshot under

http://i.stack.imgur.com/flzwd.png

edit:

<div class="container">                 <h1>url stats <small>shortened url's full stats.</small></h1>             <table class="table table-striped table-bordered" id="statstable">                 <thead>                     <tr>                         <th>url id</th><th>url unique id</th><th>short link</th><th>redirect link</th><th>date created</th><th>end date</th><th>days left</th>                     </tr>                 </thead>                 <hr>                 <tbody>                     <?php                         $result = mysql_query("select * links shortlinkid='$shortlinkid'") or die(mysql_error());                         while ($row = mysql_fetch_array($result)) {                             $now = date("y-m-d");                             $start = $row['date_created'];                             $end = $row['end_date'];                             $diff = (strtotime($end) - strtotime($now))/24/3600;                              echo "<tr>";                             echo "<td>".$row['id']."</td>";                             echo "<td>".$row['shortlinkid']."</td>";                             echo "<td><a href='http://".$row['fullurl']."'>".$row['fullurl']."</a></td>";                             echo "<td><a href='".$row['redirect']."'>".$row['redirect']."</a></td>";                             echo "<td>".$row['date_created']."</td>";                             echo "<td>".$row['end_date']."</td>";                             echo "<td>".$diff."</td>";                             echo "</tr>";                         }                     ?>                 </tbody>             </table>             </div> 

this has not been issue before, , works fine in other browsers other chrome

change this:

echo "<td><a href='http://".$row['fullurl']."'>".$row['fullurl']."</a></td>"; echo "<td><a href='".$row['redirect']."'>".$row['redirect']."</a></td>"; 

to this:

echo "<td><a href='http://".$row['fullurl']."'>full url</a></td>"; echo "<td><a href='".$row['redirect']."'>redirect</a></td>"; 

instead of echoing entire url link label, use descriptive text click on. change labels needed.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

jquery - Keeping Kendo Datepicker in min/max range -