(877) 923-4678

CSS: IE6 Help

after fighting with IE6 on a number of projects, I've come up with a short list of tweaks that can make a layout behave in IE6...



Problem #1: floats seem to have duplicated text below the float.

Solution 1: http://www.positioniseverything.net/explorer/dup-characters.html

Solution 2: use/play with the display property



Problem #2: IE6 doubles up the margin on the first element in a set of floated elements

Solution: Add display: inline to the first float

http://www.jaymeblackmon.com/ie6-double-margin-bug-fix

http://www.positioniseverything.net/explorer/floatIndent.html (go to the end)



Problem #3: Layout wraps columns, even when everything is supposed to fit

Solution: specify width and set overflow: none on all columns; this keeps potentially offending elements inside the floats from "breaking out" and thus breaking the layout





Lastly, I will reiterate a point I have made before: when/where possible, stay away from padding (especially left/right).



http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/

Why Choose MagicLamp Networks?

Results-Driven. Focused on Your Success.

We know that your website is a financial asset to your business. We're here to help you reach your business goals and get you the highest possible return on your investment. Our clients' ROI is how we measure our success.

Business-Specific Design.

We help you assess your business needs quickly and accurately, identify what sets you apart from the pack, and communicate it in ways that make clients listen. Because we build sites from the ground up, we can give you the most effective custom tools for marketing your specific products or services.

Complete End-to-End Services.

Don't have your own designer? Not sure how to word your mission statement? No problem. Whether it's branding, copywriting, or full-service technical support, MagicLamp provides everything you need to build a complete web presence.

Online Marketing Expertise.

We use current "white hat" SEO practices to push your site high up in search result ratings so you see traffic rolling in as quickly as possible.

Over 20 Years Of Client Partnerships.

We’ve been making websites since the internet was young. We build long-term relationships with our clients based on results. Many of our current partners have trusted us with their online success for over 5 years.

Websites that Work the Way You Do.

Our sites work the way you do, not the other way around. There's no need to change the way you already do business when you choose Magic Lamp. We’ll make sure your website complements your workflow without complicating it.