Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2012, 08:44 PM   PM User | #1
jerrysp
New Coder

 
Join Date: Jul 2005
Posts: 64
Thanks: 7
Thanked 0 Times in 0 Posts
jerrysp is an unknown quantity at this point
How do I get my web pages to scale to different screen sizes?

How do I get my web pages to appear in full screen on larger and smaller screen sizes?
jerrysp is offline   Reply With Quote
Old 10-05-2012, 11:03 PM   PM User | #2
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 299
Thanks: 1
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
Set all your dimensions and positioning in percentages. You may have to allow a little extra margin in some cases. That is about the most I can give you without seeing the site.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Old 10-08-2012, 03:54 AM   PM User | #3
jerrysp
New Coder

 
Join Date: Jul 2005
Posts: 64
Thanks: 7
Thanked 0 Times in 0 Posts
jerrysp is an unknown quantity at this point
How are images reduced as they are when viewing a web page on an ipad?
jerrysp is offline   Reply With Quote
Old 10-09-2012, 01:12 AM   PM User | #4
waxdoc
Regular Coder

 
Join Date: Jul 2008
Posts: 155
Thanks: 9
Thanked 13 Times in 13 Posts
waxdoc is an unknown quantity at this point
% all the way

See http://www.josephdenaro.com, wherein the aspect-ratio of the images were the same so width: ___% (with min-width: __px; and max-width: __px was possible.

======
OOPS! Missed "iPad." For mobile devices, used script to re-direct to indexmobile.htm version with samller animated GiF

Last edited by waxdoc; 10-09-2012 at 01:16 AM.. Reason: type
waxdoc is offline   Reply With Quote
Old 10-09-2012, 09:10 AM   PM User | #5
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 860
Thanks: 68
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
What about setting elements with em's?

What are the downsides of using em's?

Regards,

LC.
__________________
Carewizard - http://www.carewizard.co.uk
LearningCoder is offline   Reply With Quote
Old 10-11-2012, 10:39 PM   PM User | #6
jerrysp
New Coder

 
Join Date: Jul 2005
Posts: 64
Thanks: 7
Thanked 0 Times in 0 Posts
jerrysp is an unknown quantity at this point
Example: Try http://www.foxnews.com/ on a computer.....then on an iphone.

On the iphone the web page is scaled down and content is rearranged - how is that done? I get overlap.
jerrysp is offline   Reply With Quote
Old 10-12-2012, 03:52 PM   PM User | #7
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 299
Thanks: 1
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
They detect the device server side and deliver a page tailored to the device. The page is in no way responsive real time. If you pull up the page in a browser and then re-size down it gives you scrollbars instead of resizing.

A truly responsive page adjust real time, and you do that either by using percentages or scripting off of the onload and onresize events.

Both methods have their own problems.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:57 PM.


Advertisement
Log in to turn off these ads.