onLine weblog archive
Saturday, February 03, 2001
Friday, February 02, 2001
Thursday, February 01, 2001
Wednesday, January 31, 2001
Photographs surely show us something, but just as surely they tell us nothing, for they are inherently lacking in narrative powers: For the proverbial beginning, middle and end, the photograph substitutes a single frozen moment onto which we project meaning.[Thanks JimHart3000]
Tuesday, January 30, 2001
Monday, January 29, 2001
document.alert('I\'m cross platform!')
*Differences in the Event Model. Not hard to work around, but the two browsers handle the event object differently. A couple of lines at the beginning of an event handler smooth things out.
*Differences in the way a DIVs border is handled. In NS, the border is added to the width of a DIV; in IE, it is added within the width of the DIV. This causes problems when trying to do pixel specific placement, so when creating DIVs with borders on the fly I conditionalize the code so the DIVs appear the same in both browses.
*Differences in access to the width and height attributes of an image object. In IE those attributes have to be adjusted through object.style.width, in NS through object.setAttribute().
And see Steven Champeon's Apple Internet Developer article on dynamically modifying styles to see how IE5 and NS6 radically differ in their implementations of DOM access to a page's styles.