Re: [css-d] Fancybox modal window location in iPhone

2014-04-14 Thread Karl DeSaulniers
If you can get a friends iPhone and plug it into a Mac, safari will let you use the inspect element on your mobile safari browser. Looks to me like the div that holds the modal is growing too big. The modal is centered, but what ever the modal is centered to is larger then the phone view. I

[css-d] weird div math!

2014-04-14 Thread John Johnson
Goal: 3 Divs of equal width, equally horizontally spaced within their parent. div width: 30.3% x 3 appx = 91%, leaving 9% for a total of 100% To achieve the spacing I assumed that margin-left:3% would do it: 3 divs, 3 left edges, 3 x 3% = 9% It didn’t and I have no clue why. No, the

Re: [css-d] weird div math!

2014-04-14 Thread Tim Climis
On Monday, April 14, 2014 06:24:06 PM John Johnson wrote: Goal: 3 Divs of equal width, equally horizontally spaced within their parent. div width: 30.3% x 3 appx = 91%, leaving 9% for a total of 100% To achieve the spacing I assumed that margin-left:3% would do it: 3 divs, 3

Re: [css-d] weird div math!

2014-04-14 Thread John Johnson
On Apr 14, 2014, at 6:33 PM, Tim Climis tim.cli...@gmail.com wrote: If you use 3, you get 3 red left margins. But it appears from your example that you really want 3 left margins AND a right margin that's the same size. Thus, 4 x 2.25 = 9% very true, yes..thank you, Tim..I should have

Re: [css-d] weird div math!

2014-04-14 Thread Tim Climis
but 2.25% doesn’t produce the same even spacing as 2.3%. I don’t have borders eating into my space.. Now I blame rounding errors. Margin is 21.141px and content is 286.094px. You'll end up with a margins at 21 or 22, and content at 286 or 287 depending on how things fall. ---Tim