Blog Archive for December 3, 2009

Separate CSS for iPhone

December 3, 2009

In order to have a separate CSS file for a web site when rendered on the iPhone (mobile Safari), use the following. Note the exception for IE, as it doesn't understand this stuff.

<link rel="stylesheet" type="text/css" href="iphone.css" 
        media="only screen and (max-device-width: 480px)" />
<link ...

Resizing The Browser

December 3, 2009

Sometimes it's useful to resize a browser to fit into a screen resolution, for example 800x600 or (more commonly these days) 1024x768. This allows you to test using a smaller resolution than you actually have.

You can do this easily in any browser by putting this javascript directly into ...

Cast Iron 4 Local Calls

December 3, 2009

In Cast Iron version 4, you can call from orchestration to orchestration using a "local" call mechanism. This removes the need to communicate via web services. To do this, make sure that both ends of the call are configured as "local".

One caveat found so far - if the called service ...