» Home » 900px » Page 1
Margin left/right auto and 900px width is positioning with extra wide margin on the iPad/iPhone only
Category : Programming Languages

The following profile maintains centering in the main browsers in OSX and WinXp. But is offset to the left in the iPad with the width shorten by the larger margin on the right.


.wrapper {
width: 900px;
margin-right: auto;
margin-left: auto;
position: relative;
border: 1px solid #9B9B9B;
}
<body>
<div class="wrapp

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .