Archive for October, 2009

Fun IE CSS bug

Saturday, October 17th, 2009

Here is a fun IE CSS bug:

“In IE an absolutely positioned box sometimes disappears when in the source code it is the previous or the next sibling of a float”

After successfully tracking down this bug a couple of months ago I released that I had come across it before. This time so I don’t forget I will post it here. There needs to be a surrounding / separating div between the two elements to stop this.

Some interesting reading on the topic so we can all spot this bug when it comes up next:

  1. http://www.brunildo.org/test/IE_raf3.html
  2. http://www.brunildo.org/test/IE_raf3.pl

Technorati Tags: , , ,