Note that there are some explanatory texts on larger screens.

plurals
  1. POBackground image on responsive stylesheet won't work
    primarykey
    data
    text
    <p>I'm aiming for a responsive background image that always fills the page but at the moment, my image will not even load! If any one could help, that would be wonderful.</p> <p><a href="http://jsfiddle.net/totneschap/mNKp4/" rel="nofollow">http://jsfiddle.net/totneschap/mNKp4/</a></p> <p>Here is my html:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;Tobys Vintage Hire in Exeter, Devon&lt;/title&gt; &lt;link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"&gt; &lt;link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet"&gt; &lt;link href='http://fonts.googleapis.com/css?family=Limelight' rel='stylesheet' type='text/css'&gt; &lt;link href="assets/css/style.css" rel="stylesheet"&gt; &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"&gt; &lt;meta name="description" content="Based in Exeter, Tobys Vintage Hire supplies vintage and floral goods for weddings or for prop hire."&gt; &lt;meta name="keywords" content="Vintage Hire, Prop Hire, Wedding Hire, Vintage, Exeter, Devon, Prop, Props, Wedding, Design,"&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container"&gt; &lt;div class="row"&gt; &lt;div class="span12"&gt; &lt;img src="assets/images/header.jpg"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="navcontainer"&gt; &lt;ul id="navlist"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Items for Hire&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Packages&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Gallery&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Here is my css:</p> <pre><code>body{ width:100%; height:100%; background-image: url('assets/images/texture.jpg') center center no-repeat; background-position: center center; background-repeat: no-repeat; } #navcontainer ul { padding: .2em 0; margin: 0; list-style-type: none; width: 100%; color: #000b00; font-family: 'Limelight', cursive; font-size: 1.250em; text-align: center; } li { display: inline; } li a { padding: .2em 1em; color: #000; } li a:hover { color: #00fc45; text-decoration: none; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload