dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Scaling to fit screen resolution

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    18

    Scaling to fit screen resolution

    I was wondering if someone could push me in the right directions. What i am trying to do is build a mobile website that scales to fit if the phone is turned on the site
    eg. phone is upright

    phone is then turned to its side

    phones screen scales to the x y

    my problem is my mobile website doesnt, it just has white spaces on either side.

    i have scaled the website to work upright at 320x480

    Any help would be greatly appreciated, Thank you!

  2. #2
    Join Date
    Nov 2006
    Location
    Oakland
    Posts
    500
    The design needs to be liquid (i.e. using % for the width instead of pixels) in order for the page to stretch/shrink when the phone orientation changes.

  3. #3
    Join Date
    Mar 2012
    Posts
    18
    thank you!

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
  •  
HTML5 Development Center



Recent Articles