simple singularities

ie6 overflow and scroll bar bug

Filed under: programming — fri13th November 19, 2009 @ 6:32 pm

if some content i.e. image is bigger than contents pane i.e. div, ie6 doesn’t show it right. it just cut and show only half of image. wtf..

so i find the solution, or maybe this is also ie6’s bug?

just add this to the css properties of the cropped image.

position:relative;

and this doesn’t solve the whole problem.

the scroll bar is set to show div’s width and and no scrollbar for image..

so i add this line

position:relative;
zoom:1;

and problem solved.. you can check the final result from my another gourmet and photo blog here