Issue with meta tags in iPhone simulator

I'm using meta tags to scale a site.

It's for a demo on an iphone, so best practices can be ignored.

For some reason the scaling does not seem to change when I change the page from landscape to portrait. (I'm not talking about switching while rotating, I'm talking about full page reloads in a different orientation).

I'm testing the site in the iPhone simulator.

Am I missing something simple?

<meta name="viewport" content="width=320; initial-scale=.675">
<meta name="viewport" content="width=480; initial-scale=1">


Why are you using two viewport tags? These are not if-then statements; you should set the viewport value once. As it stands I would expect the second one to override the first (though really, anything can happen).

Also don't confuse width with device-width. Might help to reread

Need Your Help

Threaded SocketServer not receiving second message

python multithreading sockets

I am trying to implement a simple threaded SocketServer (using SocketServer.ThreadedMixIn). However, my server stops receiving further messages. Here is the code:

VB.NET DataSet Function dataset

I'm trying to see if there's a better way to use a function that returns a DataSet to fill a combo box, or a cleaner code, faster way, etc.