Negative Margins in Safari and IE
Filed Under:
From the Quick-and-Dirty Department
Ah, what better way to end a multi-month-long blogging hiatus than with a brief 'note to myself'...
Here it goes: in order to properly use negative margins you must declare the object's position as relative for Safari and static for WinIE. (This was, admittedly for a special use case, where the div wrapping the element with the negative margin also was set to overflow: none and WinIE wouldn't honour that, if the contained item's position was set to relative.)
So there, the spell has been broken... see ya!
