Did any of u have some tricks for this bugs!

windows

Guest
Hi!

i've finally create my layout that work great in IE6, Mozilla, Firefox, Opera, Netscape7.

But, when i use IE4, IE5 and IE5.5, my layout that's suppose to be centered, is on the left side.

Also i've got <div> with height of 5px, but IE4 doesn't take it and set the height of this <div> to a default value, like 12-16px!

Did someone have already view this bugs or know how to avoid it?

TOriginally posted by turb
But, when i use IE4, IE5 and IE5.5, my layout that's suppose to be centered, is on the left side.That's because they don't support auto margins. However, IE incorrectly allows you to align block-level elements by the means of text-align. Thus, wrapping an element with the CSS text-align: center around the elements in which you want to be centered should fix your problem.Superb!

Now i've fix the problem of position in IE4, IE5 and IE5.5

And for the height problem of a small <div> in IE4, can i do something??

t
 
Back
Top