テーブルをレスポンシブにしようとしていますが、うまくいきません。どこに問題があるのかわからない。それを実現するためにbootstrap-responsive.cssを使用していますが、モバイルで開いたときに他のページが壊れるようにテーブルが壊れていません。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Untitled Document</title>
<link href="css/bootstrap.css" rel="stylesheet"/>
<link type="text/css" href="css/bootstrap-responsive.css" rel="stylesheet" />
<script src="test/bootstrap.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap-transition.js"></script>
<script src="js/bootstrap-modal.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
<link href="css/bootstrap-combined.css" rel="stylesheet">
<link type="text/css" href="js/template.css" rel="stylesheet" />
<link href="test/flip-scroll.css" rel="stylesheet">
<style>
#tbl{
border: thin solid #eee;
}
#tbl td{
padding:5px;
border-bottom: thin solid #C4C4C4;
border-right:thin solid #eee;
}
#tbl tr:last-child td{
border-bottom:none;
}
#tbl td:last-child{
border-right:none;
}
#tbl tr:nth-child(odd){ background-color:#dafaf6; }
.heading{
color:#FFFFFF;
font-size:14px;
padding:10px;
text-align:center;
}
.clear
{
height:70px;
}
.current a
{
color:#FFF;
}
.divDemoBody {
width: 60%;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
}
.divDemoBody p {
font-size: 18px;
line-height: 140%;
padding-top: 12px;
}
.divDialogElements input {
font-size: 18px;
padding: 3px;
height: 32px;
width: 500px;
}
.divButton {
padding-top: 12px;
}
</style>
</head>
<body>
<div style="width:100%; background-color:#1d719a; height:100px;">
<img src="nature/logo.png" style="margin:23px 0px 0px 30px;">
<div style="width:30%; float:right; text-align:right; margin-right:20px; margin-top:20px;">
<a href="clinic_dash_board.html" title="Home"><img src="images/home_icon.png" height="32" width="32"/></a>
<a href="cliniclog.html" title="Logout"><img src="images/logout.png" height="32" width="32" /></a>
</div>
</div>
<div class="row" style="margin-left:50px; margin-top:50px">
<div class="span12" align="center">
<form method="get" action="/" class="form-inline" >
<input name="q" class="span5" type="text" placeholder="Keywords:Name" >
<button type="submit" class="btn btn-small btn-primary">Search<i class="icon-search icon-white"></i></button>
</form>
</div>
</div>
<div class="container" style="margin-top:60px;">
<div class="row-fluid">
<div class="span12">
<legend style="font-family:Georgia, 'Times New Roman', Times, serif; font-style:italic; color:#06C;">Patient Details</legend>
<table align="right" style="margin-right:50px"><tr><td><div class="pagination"><ul><li class="active"><a>1</a></li><li><a href="">2</a></li><li><a href="">3</a></li><li><a href="">»</a></li></ul></div></td></tr> </table>
<table cellpadding="0px" cellspacing="0px" border="0" style="width:90%" align="center">
<tr>
<td>
<section id="flip-scroll" style="margin-left:40px; width:100%">
<table class="table-bordered table-striped table-condensed cf" style="width:95%; ">
<thead style="background-color:#045c97;">
<tr>
<th class="heading">Patient Name</th>
<th class="heading">Date OF Birth</th>
<th class="heading" >Subject</th>
<th class="heading">Progress Note Date</th>
<th class="heading">Provider</th>
<th class="heading">Action</th>
</tr>
</thead>
<tbody style="font-size:12px;">
<tr>
<td><a href="clinic_edit.html">Shiv Acharya</a></td>
<td>06-03-1991</td>
<td>Suffering From high Fever</td>
<td>12-04-2013</td>
<td>SA</td>
<td>
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="clinic_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td><a href="clinic_edit.html">Biswajeet Mahapatra</a></td>
<td>09-08-1991</td>
<td>Suffering From back pain</td>
<td>12-04-2013</td>
<td>BM</td>
<td>
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="medical_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td><a href="clinic_edit.html">Praveen jena</a></td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td>
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="medical_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td><a href="clinic_edit.html">Sahil Sahoo</a></td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="medical_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td><a href="clinic_edit.html">Akash Pattnaik</a></td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="medical_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td><a href="clinic_edit.html">Sheetam kumar jena</a></td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td>
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="clinic_edit.html">Edit Demographics</a></li>
<li><a href="clinic_demo.html">New Encounter</a></li>
<li><a href="medical_history.html">View Past Notes</a></li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
<div class="clear"> </div>
</section>
<!-- <table cellspacing="0" cellpadding="2" border="0" id="tbl" style="width:100%">
<tr style="background-color:#045c97">
<td class="heading">Patient Name</td>
<td class="heading">Date OF Birth</td>
<td class="heading">Subject</td>
<td class="heading">Progress Note Date</td>
<td class="heading">Provider</td>
<td class="heading">Action</td>
</tr>
<tr style="text-align:center;">
<td>Shiv Acharya</td>
<td>06-03-1991</td>
<td>Suffering From high Fever</td>
<td>12-04-2013</td>
<td>SA</td>
<td>
<div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div>
</td>
</tr>
<tr style="text-align:center;">
<td>Biswajeet Mahapatra</td>
<td>09-08-1991</td>
<td>Suffering From back pain</td>
<td>12-04-2013</td>
<td>BM</td>
<td><div class="dropdown btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Actions
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div></td>
</tr>
<tr style="text-align:center;">
<td>Praveen jena</td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Actions <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div>
</td>
</tr>
<tr style="text-align:center;">
<td>Sahil Sahoo</td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Actions <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div>
</td>
</tr>
<tr style="text-align:center;">
<td>Akash Pattnaik</td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Actions <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div>
</td>
</tr>
<tr style="text-align:center;">
<td>Sheetam kumar jena</td>
<td>06-03-1991</td>
<td>Suffering From heart attack</td>
<td>12-04-2013</td>
<td>SJ</td>
<td><div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Actions <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Edit Demographics</a></li>
<li><a href="#">New Encounter</a></li>
<li><a href="#">View Pastvotes</a></li>
</ul>
</div>
</td>
</tr>
</table>-->
</td>
</tr>
</table>
<table align="right" border="0">
<TR align="right">
<TD><form action="clinic_p.html">
<input type="submit" class="btn btn-success" value="Add Patient">
</form></TD></TR>
</table>
</div>
</div>
</div>
<div style="background-color:#1d719a; height:80px; margin-top:20px;">
<div style="width:40%; font:Verdana, Geneva, sans-serif; font-size:14px; font-weight:bold; color:#FFF;">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
<tr><td style="height:20px;" colspan="2"> </td></tr>
<tr><td style="width:5%"> </td><td>Copyrights 2013. All Rights Reserved.</td></tr>
</table></div>
<div style="width:40%; float:right; text-align:right; margin:-40px 30px 0px 0px;font:Verdana, Geneva, sans-serif; font-size:14px; font-weight:bold; color:#FFF;">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
<tr><td style="height:20px;" colspan="2"> </td></tr>
<tr><td style="width:5%"> </td><td>Monyter Technologies Pvt. Ltd.</td></tr>
</table>
</div>
</div>
</body>
</html>
どんな解決策も素晴らしいでしょう。