CSS width issue on iphone

The page is at msiatlanta.com - You will have to click enter full site when the mobile site comes up.

Please no bashing or telling me about badly written code. I am trying to fix the site. Just wondering why in an iphone or ipad the container does not open to 100% of the window like I have it set to. It opens only like 95% of the way and there are some things that go over the edge and it doesnt look right on the iphone or ipad. Thanks for any help! It’s really appreciated.

Your tables are variously set to width=“990”, width=“1000” and width=“100%”. Perhaps that’s confusing the iPhone. I would remove those widths ans set something consistent in the CSS, like

table {width: 100%}

(though personally, I’d like at least a little margin on each side).

Well the only thing I see that has the div width is 100%. The 990px are for tables inside which should affect the width of the div named container.

I only have the iphone and ipad emulators and the ipad seems to look ok. I believe you are supposed to use 980px width for it to be scaled precisely and your tables are 990px so maybe it’s the odd 10px getting cut off.

I believe the iphone scales based on a 960px width so you may need to test out at 960px rather than 990px that you have and make sure that everything fits. I’m not sure why you need to do that when you have a mobile version anyway though.

Because if you want to view it in full mode or if you are on an ipad it still does it. Thanks for your input I’ll look into that.

lol - I suppose that’s true :slight_smile: