zurb / orbit

454 stars 96 forks source link

Not working in elastic layout due width as % #4

Open mhair opened 13 years ago

mhair commented 13 years ago

Any thoughts on making this work with percentage width orbits? Not thinking so much with foreground images, but title background image behind an orbit with non-image content. Would make it a lot more flexible. No luck on my end so far. Any one else with this interest?

azzcatdesign commented 13 years ago

I'm interested in % layouts. On my 3rd site this year with %. But I'm not handy enough with jquery to write myself.

azzcatdesign commented 13 years ago

I've struggled for 2 days w/this. Best I can manage is a max-height for div.orbit>img. Gave % based width, and overflow:hidden to a container div for #featured. Basically, the images don't scale, but the extra container div will expand/contract to reveal right side of images.

I'm not happy with this solution at all. Evidently, there may be a flexible width version in future: https://github.com/zurb/orbit/issues/21