PDA

View Full Version : Website Not Centering Properly in Horizontal iPhone4 Orientation



girlfriday
06 Jan 2011, 02:09 PM
I used CSS to vertically center my web site however when it is viewed in the horizontal mode on an iphone, the site is cut off and not centered. How can I fix this?

Here is the css I used to center the site:

#wrapper {
width:850px;
height:650px;

position:absolute;
top:50%;
margin-top:-325px;
left:50%;
margin-left:-425px;
}

and here is the site:
http://www.maidmarianmuffins.com/

I need the result to be fully functional i.e. zoom & pinching functions must still work. :)