The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 2 of 2

Thread: Auto resize mobile site question...

  1. #1

    Auto resize mobile site question...

    Hi guys:

    I created a mobile site for our company and I'm pleased with it because it suits our purpose, however, I am having a difficult time figuring out one thing...

    How do certain mobile sites like cnn and espn auto-zoom, or shall I say resize, to fit the mobile devices screen. For example: When I bring up a website on my ipod or cellphone sometimes I have to double-tap the screen to zoom in on the content and it will then auto-size the content to fit my screen. But it seems cnn and espn automatically do this on the loading of the page. I've checked their code and I don't see anything specific...

    Here's my mobile website:

    http://www.seifmedgraphics.com/mobile/

    Here's CNN's mobile site and ESPN's mobile site:

    http://m.cnn.com/

    http://m.espn.go.com/wireless/

    Is this a javascript command? Thanks in advance for any help. I truly appreciate it!

    Sincerely,

    Greg
    Medical Illustrations Medical Graphics
    www.seifmedgraphics.com

  2. #2
    hi there. for one

    they use divs with no widths. so that when the mobile phone (iphone in this case)
    is rotated etc, its expands to fix.

    and......

    well, let me see if i can find this link for you

    should help you get started REAL FAST!

    after 5 mins....FOUNT IT!

    check this out, should answer ALL your ?S
    http://www.gotoandlearn.com/play.php?id=127

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012