zurb / orbit

454 stars 96 forks source link

Using Orbit in an HTML5 document on iOS #26

Closed danott closed 8 years ago

danott commented 13 years ago

This isn't an issue with Orbit per-se, but I wanted to post it here publicly to prevent potential wasted time troubleshooting for others.

Orbit was working perfectly fine on a project I was working on... everywhere accept iOS. I spent a great deal of time refining all the CSS, removing all unnecessary surrounding elements, matching the working demo perfectly, etc to narrow down the problem.

In the end, it was the fact that I was using HTML5 <section> elements rather than the traditional <div> markup to semantically define the page. After changing the <section> to a <div>, everything worked as expected on iOS.