I recently developed a website optimized for monitors, but when I viewed it on an iPad, the right corner was missing some CSS styles. Take a look:
Here is the HTML code:
<div id="nav-top">
<div class="wrapper">
<!-- Top Navigation Menu -->
<ul class="menu-nav-top">
<li>About</li>
<li>Contact</li>
</ul>
<!-- Top Social Links -->
<ul class="social-links">
<li>contact</li>
<li>Twitter</li>
<li>Facebook</li>
</ul>
</div><!--#wrapper-->
</div><!--#nav-top-->
#nav-top {
background: url("img/bg_body_blue6.png") repeat-x scroll 0 0 transparent;
height: 36px;
position: relative;
z-index: 4;
}
.wrapper {
margin: 0 auto;
position: relative;
width: 1146px;
}
Upon inspecting the source code, I discovered that the width of the wrapper exceeded the safe zone limits of the iPad (920px), causing the CSS to only apply to the visible area and leaving out the non-viewable area. This resulted in the missing styles.
Is there a way to resolve this issue and ensure that CSS is applied across the entire content, including the scrollable area?
Thank you