Technology: January 2006 Archives

Prototype

Here's a little hint... If you're using Prototype in any of your projects and you want to set the "float" style you have to use the property cssFloat.

Bad:


Element.setStyle(mydiv, {float: 'left'});

GOOD:


Element.setStyle(mydiv, {cssFloat: 'left'});

I suppose this is probably true outside of prototype too..

The sticky wicket about this is that Safari seems to be the only browser that cares. Firefox and IE handle it just fine. Safari fails mysteriously.

What I'm Consuming

About This Archive

This page is a archive of entries in the Technology category from January 2006.

Technology: November 2005 is the previous archive.

Technology: September 2006 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Technology: January 2006: Monthly Archives

Powered by Movable Type 4.0-beta7-20070717