the image does not extend from one edge of phone to another but has space 20px between edge-image side
considering having css the image does not extend from one edge of phone to another but has space 20px between edge-image side, how avoid this space?
#wrapper {
background-image: url(../images/Polis/D1000134_beach.jpg);
background-size: contain;
width: 100%;
background-repeat:no-repeat;
}
- <div data-role="content"><div id="wrapper" style="width:100%; height:207px; margin-bottom:10px"></div>
- <ul data-role="listview">
- <li><a href="#page2">Shops&Services</a></li>
- <li><a href="#page3">Attractions</a></li>
- <li><a href="#page4">Search - Polis</a></li>
- <li><a href="#page5">Hotel Deals</a></li>
- <li><a href="#page6">Events - Polis</a></li>
- <li><a href="#page7">Weather&Maps</a></li>
- <li><a href="#page8">About - Polis</a></li>
- <li><a href="#page9">Further Resources</a></li>
- <li><a href="#page10">FAQ - Feedback</a></li>
- </ul>
- </div>