I Build Web Sites

Do you need to take your dull website and make it shine? That's what SLiK INTERACTIVE is here to do, offering a range of web design services to meet your internet needs.

  • Mizu
  • Flow Go Riding Center
  • TW's Grille and Bar

Archive for March, 2009

IE6 Bug – Negative Margins

I recently implemented a javascript animated menu into a site I built and ran into this problem of negative margins not rendering in IE6 when cross browser testing…So to make a long story short I found this workaround which did the trick!

 

Style the element with position: relative and give it negative offsets instead of negative margins.

 

1
2
position: relative;
left: -20px;

This will have the same effect as negative margins. Hope it works for you!