CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   MOBILE: DIV Breaking Bounds (http://www.codingforums.com/showthread.php?t=287186)

Psionicsin 02-06-2013 05:36 PM

MOBILE: DIV Breaking Bounds
 
We utilize Slideshow Pro for our galleries and slideshows on our website. It's Flash based, but the neat thing about it is that it's able to show a non-Flash version called a "mobile poster" which links to a swipeable gallery for iOS and Android devices.

The bad thing is that when our responsive site scales down for one of these mobile devices and the mobile poster replacement takes over, it's breaking the bounds of our #Content DIV.

I've found that the DIV for the mobile poster is #album-5, but all efforts to make length & width 100% instead of the set number displayed has failed.

You can easily replicate the problem by making the user agent for your browser iOS, and then shrinking the webpage until you see the error.

WEBPAGE

Psionicsin 02-06-2013 11:44 PM

Is there any more information that I should be adding to this...or is it just as tricky as I'm thinking it is?

Psionicsin 02-07-2013 03:25 PM

Ok so I ended up being able to make it work by using max-width and max-height...however the photo inside of the mobile poster is distorted and squashed. Any help to alleviate this would be great.

I've finally figured out that the javascript is injecting the CSS values after everything else. I have no idea how to counter this lol.

jerry62704 02-07-2013 07:40 PM

There is a forum here for mobile devices that might have better responses.

Psionicsin 02-07-2013 08:19 PM

Quote:

Originally Posted by jerry62704 (Post 1311757)
There is a forum here for mobile devices that might have better responses.

Thank you. Did not know.


All times are GMT +1. The time now is 02:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.