Discussion Forums  >  Uncategorized

Replies: 4    Views: 333

Walms
Code is Art
Profile
Posts: 235
Reg: Aug 24, 2011
Derby
3,300
09/03/11 03:12 PM (14 years ago)

Single HTML Webpage width?

What is the ideal width (px) for compatability on both iphone & Android handsets? Any extra code/designin tips?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
09/03/11 03:32 PM (14 years ago)
Don't use px! use a liquid layout (ie 100% for full screen width)
 
wendymadeit
Apple Fan
Profile
Posts: 82
Reg: Jan 12, 2011
location unknow...
820
like
09/03/11 07:28 PM (14 years ago)
hmmmm.... good info - do you have any more detail or tips on where to go for more info?
 
gereghas
Aspiring developer
Profile
Posts: 45
Reg: May 14, 2011
Oklahoma
1,250
like
09/04/11 04:20 PM (14 years ago)
In the head of the page you can insert something along the lines of (the exact lingo escapes me at the moment) <meta viewport width=device-width> or alter the meta tag if it is already there.
 
Tim @ Hawken Schoo...
I hate code!
Profile
Posts: 10
Reg: Aug 29, 2011
Gates Mills, OH
100
like
09/16/11 07:57 PM (14 years ago)
<meta name=viewport content=width=device-width>
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.