I've got 3 rows: top, middle, bottom divs. In the top and bottom divs, there's a foreground image and in the middle div there's a background image.
On mobiles, the middle div doesn't not resize like the top and bottom and is way too large. Here's the code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<img src="img/top.jpg" width="640" height="582" alt="" title="" border="0" />
</div>
</div>
<div class="row-fluid">
<div class="span12" style="background:url('img/middle.jpg') no-repeat; height:245px;">
Hello world.
</div>
</div>
<div class="row-fluid">
<div class="span12">
<img src="img/bottom.jpg" width="640" height="314" alt="" title="" border="0" />
</div>
</div>
</div><!--/.container-fluid -->
</body>
</html>
Is there a way to get the div with the background-image to adjust to the screen?