Btrax Design Company > Freshtrax > CSS double marg...
CSS double margin bug fix for IE6
After reading an article regarding this IE6 bug, I decided to share with anyone who needs this information to fix their website. So what’s the problem? Simply put if your float a block element to left, its margin will become double. IE6 only applies double margin when you are using margin on the same side of the object as you’re floating it, and the result is – your layout breaks as the image indicated.
If you see something like that happens, it probably because of this bug. So here’s the easy fix, just use “padding” instead of “margin”. Since there are still portions of population using IE6, it’s good to know this little trick.
Don’t miss our upcoming event!
Join us for an evening of innovation and inspiration at the annual Pitch Night, hosted by btrax, Inc. and proudly supported by Hult International Business School.
Under the theme “Global Change Makers,” the Pitch Night is designed to highlight projects and pitches that aim to make a positive impact on a global scale. Entrepreneurs, visionaries, and change-makers from diverse backgrounds will take the stage to present their innovative solutions and transformative concepts that address pressing global challenges.
In addition to idea pitches, we will feature insights from a panel discussion on the topic of “Building Tomorrow: A Global Vision for Change”.
Whether you are an aspiring entrepreneur, a seasoned professional, or simply someone passionate about positive change, the SF Pitch Night 2024 is an event you won’t want to miss.
Interested in pitching your idea at this event? Apply today