You are here

layout

CSS Grid Layout Generators

Reencoded has recently posted an article featuring 10 tools help designers to layout a grid using CSS. This should be a time saver for those creating a layout from scratch and want to free of table-based layout. Who uses that anyways? No, really I wanna know because everywhere I look people are using css for the layout of their pages.

Choosing Layouts at Runtime in Ruby on Rails - iPhone Safari x Firefox or IE on a PC

I wanted to set a different layout in my application depending on a decision of a special situation. For example, if the client system is a browser on an iPhone I'd like to show a different layout than a Firefox running in a PC.

I found inspiration on the official RoR documentation, specifically on the page about the rendering mechanism. Here is the code I wrote to display a specific layout if the client browser is a Safari running in a iPhone or iPod touch.

Subscribe to RSS - layout