User login
Navigation
Recent blog posts
- Ubuntu mirrors up and improved!
- Google-jstemplate: Iterate object with unknown properties
- nginx https proxypass for php apps
- sugarcrm & memcache: Doing it Wrong
- subversion and https in Ubuntu Karmic
- Drupal: Views block delta converted to md5 hash
- Ubuntu Server install requires PAE
- Installing Drupal from command line
- Drupal: Handling form field weight through CCK
- minify javascript using Google Closure Compiler
angch's location
angch twitter
- angch: Heading to Brunei. Business class for a change.
- angch: tc qdisc htb activated on the mirror, and mirror reactivated. Hope nothing melts now.
- angch: Hmmm, tbf doesn't work as advertised. htb does. #qos #linux
- angch: @yoonkit me thinks #lucid is a much better tag than #lynx
- angch: Great, you broke the dc's net and they disconnected us. Running to tpm from shah alam
ie6

IE6 Float drop bug
kamal — Wed, 25/03/2009 - 11:47
The problem clearly explained in this blog post. The solution:-
* html #middle {
overflow-x: auto; overflow-y: hidden;
width: expression(document.body.offsetWidth - 400);
}Does not work but through the comments (#2):-
* html #sidebar {
display: inline;
margin-left: -10px;
}By giving negative margin to the div, it doesn't dropped anymore but a bit ugly. The commenter suggest giving negative margin equal to the actual size of the div but it still won't work. So my guess -10px just give enough room for the div from falling down. But as I said, it's ugly since it eating up a tiny pixel of the middle div (the one that IE6 incorrectly overflowed it).
