开发者

jquery tabs truncating content on iPad Safari

开发者 https://www.devze.com 2023-02-17 18:52 出处:网络
When the iPad first came out I modified my website to use jQuery tabs and everything was working on all browsers including iPad Safari. But on the latest iPad Safari, the jQuery tabs are cutting off t

When the iPad first came out I modified my website to use jQuery tabs and everything was working on all browsers including iPad Safari. But on the latest iPad Safari, the jQuery tabs are cutting off the content. [EDIT: when I wrote "latest" only the iPad1 was available; the website with tabs works fine on iPad2! Problem occurs only on iPad1. arrgh] Other browsers continue to work fine. The amount of content varies considerably from tab to tab and the text content in individual tabs can be quite long given the document-centric nature of the website. I tried googling

   jQuery tabs iPad site: stackoverflow.com

but couldn't find anything relating to this particular problem, though this SO discussion from 2009, where the tab heights are explicitly set to the size required by the tab with the greatest height, might be a workaround. Th开发者_开发技巧anks for any suggestions/links to further reading.


Have you come across the meta tags specifics to iOS Safaris? I'm guessing the viewport meta tag may help resolve this issue, e.g.

<meta name = "viewport" content = "height = device-height, initial-scale = 1.0">
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号