CSS Optimization no iPod a me iPhone Safari

ipod nanoʻO ke kūkulu ʻana i nā polokalamu i hoʻomākaukau hoʻomākaukau ʻia no ka hoʻohana ʻana o iPod a i ʻole iPhone he ala maikaʻi loa ia e hoʻū iho i loko o kahi mākeke pahū me nā mea hou aʻe 1 biliona hoʻoiho to date. It's important to realize that those numbers don't include browser-based applications that are optimized for Safari on iPhone or the iPod Touch and require no download.

I kēia lā nahu wau i ka pōkā a kūʻai aku a 16Gb iPod Touch e hoʻomaka i ka nānā ʻana i ka paepae no nā Safari a me nā Apps. Sure ... Ua hauʻoli wau i ka hiki iaʻu ke nānā i nā kiʻi ʻoniʻoni ma ke ala a hiki i ka iPod Touch ke hana ma ke ʻano he mamao no kaʻu AppleTV!

ʻO kaʻu hana mua ma ka lima ke hoʻomaikaʻi nei i kaʻu Heluhelu Uku for use with Safari on the iPod Touch or the iPhone. It's an application I've built in virtually every language… so it's time that I began learning development for Safari and learning the Apps framework.

Interestingly enough, bringing up the page in Safari didn't automatically utilize the Media = paʻa lima nā hoʻonohonoho css, no laila pono wau e kākau i kahi ʻaoʻao ʻaoʻao kikowaena i PHP e hoʻohana i ka styleheet kūpono:


> link rel = "styleheet" media = "pale" href = "iphone.css" type = "kikokiko / css" />
>? php} ʻē aʻe {?>
> link rel = "styleheet" media = "pale" href = "style.css" type = "kikokiko / css" />
>? php}?>

I've got the page looking pretty good, but I know there's a ton of iPhone a me iPod Safari CSS mau manaʻo I can utilize, even shifting components based on whether the page's orientation is landscape or portrait. I'll continue to experiment!

Loaʻa i kahi iPhone a i ʻole iPod Touch? E hoʻāʻo i ka Heluhelu Uku a e ʻike wau pehea ka nānā iā ʻoe! E noʻonoʻo pono i nā hoʻololi āpau ma waena o ka ʻaoʻao i hana ʻia me CSS wale nō. Maʻalahi paha e kākau maʻalahi i kahi ʻaoʻao hou loa - akā ʻaʻole paʻakikī.

3 Comments

  1. 1

    Douglas-

    Mahalo no nā ʻōlelo aʻoaʻo CSS iPhone… e like paha kēia no ka Blackberry a i ʻole ke kelepona ʻē aʻe e hoʻohana nei i kahi polokalamu kele pūnaewele.

    • 2

      Aloha Ken,

      ʻAʻole - hiki i ka hapanui o nā polokalamu kele pūnaewele ke noi i Media = "lawe lima" inoa CSS. ʻO Safari ma ka pā iPod a iPhone paha e nānā ʻole i kēlā.

      Doug

  2. 3

    Pono wau e kiʻi iaʻu iho i iphone, ʻaʻohe oʻu ipod nano. E nalowale wau me ka css a me nā mea āpau, ʻo kēlā me kēia mea me ke code aia i waho o kaʻu kuʻikahi lol

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.