I'm building a preview page for clients to view when I make them a website concept. Something quick and easy I can swap images in and out of to show a client roughly how a site might look without having to build the page itself completely.
It's effectively one big 100% width background image and another central content image centralised with auto margins over the top.
At the moment I've got a client's concept website on there and it displays as intended through the browser on a website and on a tablet, but when viewed through a mobile browser you will see only a small section of the image you can vertically scroll through, but with no horizontal scroll ability.
Here's the html code for the page:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Muessig.co.uk - Preview</title>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script type="text/javascript" src=?http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
<script type="text/javascript" src=?http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
<![endif]-->
<link href="css/styles.css" rel="stylesheet">
</head>
<!-- NAVBAR================================================== -->
<body>
<div class="back">
<div class="container marketing">
<div class="topcentre">
<div class="icon"></div>
<div class="nails"></div>
<div class="row">
</div>
</div>
</div>
</div>
</body>
<!--
<div class="container"></div>
<!-- Wrap the rest of the page in another container to center all the content. -->
<!--<div class="faceupgreybgtiles">
<div class="faceuptiles">
<div class="container marketing">
<div class="row">
</div>
</div>
</div>
</div> -->
<!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/holder.js"></script>
</body>
</html>
Question
Muessig
I'm building a preview page for clients to view when I make them a website concept. Something quick and easy I can swap images in and out of to show a client roughly how a site might look without having to build the page itself completely.
The site in question is here: www.muessig.co.uk/preview
It's effectively one big 100% width background image and another central content image centralised with auto margins over the top.
At the moment I've got a client's concept website on there and it displays as intended through the browser on a website and on a tablet, but when viewed through a mobile browser you will see only a small section of the image you can vertically scroll through, but with no horizontal scroll ability.
Here's the html code for the page:
and the CSS / less file:
Any ideas how to solve this conundrum?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts